mysql error#1251客户端版本过低

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
Query OK, 0 rows affected (0.10 sec)

 

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
Query OK, 0 rows affected (0.35 sec)

 

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.28 sec)

转载于:https://www.cnblogs.com/lvlv/p/9131048.html

你可能感兴趣的:(mysql error#1251客户端版本过低)