码迷,mamicode.com
首页 > 数据库 > 详细

centOS下进入mysql报错-You must SET PASSWORD before executing this statement

时间:2014-06-05 00:19:53      阅读:294      评论:0      收藏:0      [点我收藏+]

标签:c   style   a   ext   color   set   

解决办法:

mysql>  SET PASSWORD = PASSWORD(‘123456‘);
Query OK, 0 rows affected (0.03 sec)
mysql> create database roger;
Query OK, 1 row affected (0.00 sec)
也就是用mysql>  SET PASSWORD = PASSWORD(‘123456‘);这句话重新设置一次密码!

centOS下进入mysql报错-You must SET PASSWORD before executing this statement,布布扣,bubuko.com

centOS下进入mysql报错-You must SET PASSWORD before executing this statement

标签:c   style   a   ext   color   set   

原文地址:http://blog.csdn.net/benjamin_whx/article/details/27208883

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