Created
May 3, 2010 22:44
-
-
Save danielbachhuber/388678 to your computer and use it in GitHub Desktop.
Create new MySQL database
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 databasename; | |
GRANT ALL PRIVILEGES ON databasename.* TO username@localhost IDENTIFIED BY "password"; | |
FLUSH PRIVILEGES; | |
EXIT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment