Created
November 13, 2013 05:41
-
-
Save pateketrueke/7444298 to your computer and use it in GitHub Desktop.
MySQL snippets (WUT)
This file contains hidden or 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
CREATE DATABASE <dbname>; | |
CREATE USER '<dbuser>'@'localhost' IDENTIFIED BY '<password>'; | |
GRANT ALL PRIVILEGES ON <dbname> . * TO '<dbuser>'@'localhost'; | |
REVOKE ALL PRIVILEGES ON <dbname> . * FROM '<dbuser>'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment