首页 > 数据库技术 > 详细

mysql 5.6 grant授权的时候出现问题

时间:2017-01-18 11:53:40      阅读:1969      评论:0      收藏:0      [点我收藏+]

mysql> grant select on huamu_licai.* to ‘read‘@‘%‘ identified by password ‘Abcd1234‘;
ERROR 1827 (HY000): The password hash doesn‘t have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.

设置参数old_passwords的值

mysql> set old_passwords=0;

Query OK, 0 rows affected (0.26 sec)

再次grant运行OK

 

mysql 5.6 grant授权的时候出现问题

原文:http://www.cnblogs.com/smail-bao/p/6296069.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!