As far as I know, this is all up to the user – sorry if this was unclear. There are different options and configurations, so using peewee with a MySQL database requires a driver to already be installed. The connection parameters supported by peewee are PyMySQL and MySQLdb, so installing any of those packages should work. You can also connect to a remote MySQL database using peewee's Playhouse extension (example here).
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Getting error while using Mysql as a database | 1 | 469 | March 30, 2020 | |
MySQL: ‘NoneType’ object has no attribute ‘Binary’ | 2 | 3250 | July 10, 2019 | |
Prodigy won't connect to remote MySQL server | 1 | 924 | February 7, 2019 | |
Run Prodigy with a remote MySql database using Docker | 8 | 1931 | August 1, 2021 | |
peewee.OperationalError: MySQL server has gone away | 15 | 7663 | June 29, 2018 |