MySQL Forums
Forum List  »  Security

Re: I accidentally revoked all privileges from root user, now unable to login to my mysql server
Posted by: Peter Brawley
Date: November 22, 2018 03:47PM

Only a user with all root privs can grant all root privs.

Stop the server, start with --skip-grant-tables, make desired changed to system tables, issue flush privileges cmd, exit, stop server, restart normally.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: I accidentally revoked all privileges from root user, now unable to login to my mysql server
1081
November 22, 2018 03:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.