我在mysql中获取--skip-grant-table

时间:2014-07-24 02:22:06

标签: mysql ubuntu

每当我尝试在mysql中执行查询时,我都会收到此消息:

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

如何禁用--skip-grant-tables?

谢谢!

1 个答案:

答案 0 :(得分:0)

我明白了!

我继续说道:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;

谢谢!