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 | 475 | March 30, 2020 | |
| MySQL: ‘NoneType’ object has no attribute ‘Binary’ | 2 | 3268 | July 10, 2019 | |
| Prodigy won't connect to remote MySQL server | 1 | 936 | February 7, 2019 | |
| Run Prodigy with a remote MySql database using Docker | 8 | 1958 | August 1, 2021 | |
| peewee.OperationalError: MySQL server has gone away | 15 | 7720 | June 29, 2018 |