Network database client
Network database client
Can anyone recommend a good MicroPython database client? I'd like to run queries on an ESP32 over the network against databases such as MySQL running on different machines.
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: Network database client
I wrote a very minimal Redis client: https://github.com/SpotlightKid/picoredis
There's also a more fully featured upy Redis client, though using of course comes at the cost of higher memory usage; https://github.com/dwighthubbard/micropython-redis
There's also a micropython MySQL client, but the author describes it as "hacky" and people have reported problems using it here, so I don't know if it really works: viewtopic.php?f=15&t=3552&p=20645
There's also a more fully featured upy Redis client, though using of course comes at the cost of higher memory usage; https://github.com/dwighthubbard/micropython-redis
There's also a micropython MySQL client, but the author describes it as "hacky" and people have reported problems using it here, so I don't know if it really works: viewtopic.php?f=15&t=3552&p=20645
Re: Network database client
Thanks I will take a look at your client.
I already tried the MySQL client and was able to get it working with some effort.
There is also a MongoDB client. It is functional for CPython but has some limitations for MicroPython such as authentication due to missing implementations in the Hashlib library.
I already tried the MySQL client and was able to get it working with some effort.
There is also a MongoDB client. It is functional for CPython but has some limitations for MicroPython such as authentication due to missing implementations in the Hashlib library.