MySql Error(UBUNTU):The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

10,025

Check mysql configs in /etc/mysql/ or the runscript in /etc/init.d/ .


Edit:
Try this: GRANT ALL, GRANT OPTION ON . TO user@localhost;

http://dev.mysql.com/doc/refman/5.1/en/grant.html

Share:
10,025

Related videos on Youtube

Ben
Author by

Ben

Updated on September 17, 2022

Comments

  • Ben
    Ben 9 months

    Hi when i enter:GRANT ALL PRIVILEGES ON . TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION; I get:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement. What should i do to off skip-grant-tables option? Thanks.

  • Ben
    Ben about 13 years
    What should I check?
  • Apache
    Apache about 13 years
    Oh sorry the vm have been fixed now. Will report soon.