You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL 8.0.33 start deprecating mysql_native_password. Now caching_sha2_password is the default authentication plugin.
When using caching_sha2_password in insecure transport (e.g. TCP without TLS), password must be encrypted with server public key.
The safest way to use the server's public key is to use the MYSQL_SERVER_PUBLIC_KEY option.
MariaDB Connector/C supports MYSQL_SERVER_PUBLIC_KEY since they support sha256_password in 3.0.
Activity
taozuhong commentedon Sep 6, 2024
MariaDB Connector/Chave much more different withMySQL Connector/C, we should consider splitting it into two library now.support server_public_key_path option. (PyMySQL#744)