MySQL8.0登录提示caching_sha2_password问题解决方法

mysql> use mysql;

mysql> SELECT Host, User, plugin from user;

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

mysql> FLUSH PRIVILEGES;

你可能感兴趣的:(mysql)