navicat 连接 mysql 出现1251-Client does not support authentication protocol requested by server解决方案

版权声明: https://blog.csdn.net/qq_21578125/article/details/81083159

USE mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;

其中:root是用户名;password是密码

猜你喜欢

转载自blog.csdn.net/qq_21578125/article/details/81083159