mysql

mysql在创建用户时报错
mysql> CREATE USER 'xxx'@'localhost' IDENTIFIED BY '123456';
ERROR 1396 (HY000): Operation CREATE USER failed for 'xxx'@'localhost'

解决

mysql>drop user "xxx"@"localhost";
然后再创建
mysql> CREATE USER 'xxx'@'localhost' IDENTIFIED BY '123456';

你可能感兴趣的:(坑)