ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

mysql初始化安装之后,执行语句报错:

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

mysql需要修改初始密码,执行修改用户密码语句,

alter user 'root'@'localhost' identified by 'root';

posted @ 2018-07-17 15:11  TIMLONG  阅读(237)  评论(0编辑  收藏  举报