时间:2021-07-01 10:21:17 帮助过:20人阅读
mysql> grant select,insert,update,delete on *.* to ‘root‘@‘%‘;
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.00 sec)
mysql>
mysql>
mysql>
mysql> grant select,insert,update,delete on *.* to ‘root‘@‘%‘;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> grant all on *.* to ‘root‘@‘%‘;
Query OK, 0 rows affected (0.00 sec)
解释说明:
对root用户进行授权远程登录,然后发现报错ERROR 1290 (HY000)
然后进行flush privileges。
然后再次执行授权,问题解决。
MySQL关于ERROR 1290 (HY000)报错
标签:解决 statement exec error stat 远程登录 问题解决 问题 not