报错:
解决方法:
输入select host,user,plugin,authentication_string from mysql.user; 看用户信息
更改加密方式,重置密码:(原加密方式为:alter user ‘root‘@‘localhost‘ identified by ‘123‘;)
alter user ‘root‘@‘localhost‘ identified by ‘123‘;
刷新权限:flush privileges;
再看看加密方式:
没有乱码现象
再次尝试:
原文地址:https://www.cnblogs.com/qiuniao/p/12242510.html
时间: 2024-10-07 01:12:09