创建用户的时候报错ERROR 1396 (HY000): Operation CREATE USER failed for 'user1'@'%' mysql> create user user1 IDENTIFIED by '123456
创建用户的时候报错ERROR 1396 (HY000): Operation CREATE USER failed for 'user1'@'%'
mysql> create user user1 IDENTIFIED by '123456';ERROR 1396 (HY000): Operation CREATE USER failed for 'user1'@'%'
上网查了一下说是没有这个用户之前有创建过,删除了,但是可能没有刷新权限,执行刷新权限, 发现还是创建不了
mysql> flush privileges; Query OK, 0 rows affected (0.01 sec)mysql> mysql> mysql> create user user1 IDENTIFIED by '123456';
再次删除用户,再刷新,再创建就可以了
mysql> drop user user1;Query OK, 0 rows affected (0.02 sec)mysql> flush privileges; Query OK, 0 rows affected (0.01 sec)mysql> create user user1 IDENTIFIED by '123456';Query OK, 0 rows affected (0.01 sec)
完!
来源地址:https://blog.csdn.net/xxpr_ybgg/article/details/126656144
--结束END--
本文标题: 【MYSQL用户创建报错】ERROR 1396 (HY000): Operation CREATE USER failed for ‘user1‘@‘%‘
本文链接: https://lsjlt.com/news/393437.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0