MySQL Server8.0版本时出现Client does not support authentication protocol requested by server

MySQL Server8.0版本时出现Client does not support authentication protocol requested  by server

解决方法:

1、root 命令行登录

2、use mysql

3、alter user '登录账号'@'%' identified with mysql_native_password by '登录密码';

4、flush privileges

重新登录即可解决问题

上一篇:SQL Server 2008导出数据为SQL脚本的操作步骤


下一篇:PHP环境配置遇到的小问题