Last active
November 25, 2015 16:29
-
-
Save pavgup/462642363460291e12c4 to your computer and use it in GitHub Desktop.
granting everything to root on mariadb over a private subnet
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
GRANT ALL PRIVILEGES ON *.* TO 'root'@'172.31.%.%' IDENTIFIED BY 'APASSWORDTHATISNOTREAL' WITH GRANT OPTION; | |
UPDATE mysql.user SET password=PASSWORD('realpasswordzl33t') WHERE User="root"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment