ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement.
1:
事件復(fù)盤:
之前在mysql中創(chuàng)建了一個庫aa@localhost
箱熬,在刪除的時候報錯:
mysql> drop user aa@localhost;
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables
option so it cannot execute this statement
解決:
在刪除用戶前刷新一下權(quán)限;
mysql> flush privileges;
Query OK, 0 rows affected (0.02 sec)
mysql> drop user aa@localhost;
Query OK, 0 rows affected (0.00 sec)