mysql> grant all on cactidb.* to [email protected]‘localhost‘ identified by ‘123‘;
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
解决措施:
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> grant all on cactidb.* to [email protected]‘localhost‘ identified by ‘123‘;
Query OK, 0 rows affected (0.00 sec)
时间: 2024-12-29 01:15:19