mysql 5.6 grant授权的时候出现问题
2017-01-18 11:20
211 查看
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
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 root密码丢失,使用mysqld --skip-grant-tables出现错误提示
- 在安装MySQL Workbentch的时候出现如下问题,已经解决。
- kettle3使用mysql5.6出现OPTION SQL_SELECT_LIMIT=1的问题
- mysql5.1升级5.6步骤以及出现问题解决方法
- centos 6.8 安装mysql5.6可能会出现的问题
- 低配ecs安装Mysql5.6出现问题
- mysql中出现没有权限访问或者查看全部数据库的问题---用客户端第一次打开的时候
- 解决搭载OpenStack时候出现can't connect to mysql server on 'controller'的问题
- 安装MySQL5.6出现的问题
- 用Mysql5.6插入出现时间问题Incorrect datetime value: '' for column 'createtime'
- 用Mysql5.6出现时间问题Incorrect datetime value: '' for column 'createtime'
- MYSQL做主从复制的时候,出现ERROR 1201 (HY000):Could not initialize master info structure的问题
- Mysql5.6版本导出sql文件数据导入到5.7版本出现的问题
- 用Mysql5.6出现时间问题Incorrect datetime value: '' for column 'createtime'
- 用Mysql5.6出现时间问题Incorrect datetime value: '' for column 'createtime'
- 在启动mysql的时候出现如下问题:“ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)”
- python写入mysql时候 出现'latin-1' codec can't encode character 问题解决方法 以及python设置utf-8
- mysql 5.6 免安装,启动的时候存在的问题
- 用Mysql5.6出现时间问题Incorrect datetime value: '' for column 'createtime'
- 用Mysql5.6出现时间问题Incorrect datetime value: '' for column 'createtime'