错误代码: client does not support authentication
解决办法:
1 使用命令行进入数据库
2 选着数据库 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
这样就可以连接了
错误代码: client does not support authentication
解决办法:
1 使用命令行进入数据库
2 选着数据库 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
这样就可以连接了
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。