我正在尝试在 mysql 中创建新用户,
create user 'saravanakumar'@'localhost' identified by 'saravanakumar';
它显示错误为,
ERROR 1396 (HY000): Operation CREATE USER failed for 'saravanakumar'@'localhost'
在我读完这个之后
错误 1396 (HY000): 'jack'@'localhost' 的操作 CREATE USER 失败
我删除用户。但我不能。它显示
mysql> SELECT User FROM mysql.user;
+---------------+
| User |
+---------------+
| root |
| saravanakumar |
| saravanakumar |
| |
| root |
| saravanakumar |
| |
| root |
+---------------+
8 rows in set (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> SELECT User FROM mysql.user;
+---------------+
| User |
+---------------+
| root |
| saravanakumar |
| saravanakumar |
| |
| root |
| saravanakumar |
| |
| root |
+---------------+
8 rows in set (0.00 sec)
如何删除表中的所有这些用户以及如何创建单个用户。这个问题的根本原因是什么?请高手帮帮我。