The recommended connector library for MySQL is mysqlclient.
Here’s the connection string:
- For Localhost or Docker running Linux:
- For On Prem: IP address or Host name
- For Docker running in OSX:
One problem with
mysqlclient is that it will fail to connect to newer MySQL databases using
caching_sha2_password for authentication, since the plugin is not included in the client. In this case, you should use
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.