1251报错 mysql

.更改加密方式:

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;

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

mysql> FLUSH PRIVILEGES;

猜你喜欢

转载自www.cnblogs.com/bigredpig/p/9271911.html