pygame-web / pkg-porting-wasm

Tracks porting efforts on some modules you'd like to have working in pygbag
https://pygame-web.github.io/wiki/pkg/
5 stars 0 forks source link

mysql/mariadb driver : no module named mysql #31

Open Pythoenixx opened 10 months ago

Pythoenixx commented 10 months ago

PKG NOT FOUND: want='mysql', resume=<function at 0x14eb858>, ex--ModuleNotFoundError("No module named 'mysql'")

how do I use mysql with pygbag?

pmp-p commented 10 months ago

need asyncronous socket handling and a websocket proxy for the db server socket

most likely some async port of https://github.com/PyMySQL/PyMySQL

Pythoenixx commented 10 months ago

hmm I don't think I know anything about that but thank you for replying fast

pmp-p commented 10 months ago

meanwhile you could convert your db to sqlite3 and bundle its file with pygbag