Open yahonda opened 3 months ago
It looks like duplicate with https://github.com/pingcap/tidb/issues/54138
MySQL has removed mysql_native_password
only from the server.
Note this from the description and release notes:
For backward compatibility, mysql_native_password remains available on the client; the client-side built-in authentication plugin has been converted into a dynamically loadable plugin.
I think the problem listed here is a platform specific issue on macOS that causes the loading of dynamically loadable plugin to fail. This isn't a TiDB issue. However it would be good if we can start moving to caching_sha2_password
instead of relying on a deprecated authentication method.
Feature Request
I want tiup playground supports to create root user with the
caching_sha2_password
plugin because MySQL client 9.0 that removesmysql_native_password
plugin.Describe the feature you'd like: MySQL 9.0.0 removes mysql_native_password plugin.
https://dev.mysql.com/doc/relnotes/mysql/9.0/en/news-9-0-0.html
Why the featue is needed: If macOS uses installs mysql client, now it installs MySQL client 9.0.1, then users will get this error.
Describe alternatives you've considered: Workaround is installing
mysql-client@8.4
explicitly as follows.Teachability, Documentation, Adoption, Migration Strategy: