码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-09-25 19:04:44      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

 

报错

在连接mysql执行语句时报错:

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

 

解决办法

 

执行语句:

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

这样就可以了。

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

标签:

原文地址:http://www.cnblogs.com/yg_zhang/p/5906493.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!