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)

posted on 2018-06-03 22:41  lvlv岁月流逝  阅读(768)  评论(0编辑  收藏  举报

导航