Created
August 26, 2014 14:40
-
-
Save pjendrusik/29867bdb9697c6eefbea to your computer and use it in GitHub Desktop.
recover all privileges
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE mysql.user SET Grant_priv='Y', Super_priv='Y' WHERE User='root'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment