Created
September 1, 2012 18:14
-
-
Save alexey-detr/3582191 to your computer and use it in GitHub Desktop.
Creating new DB and user for it in MySQL
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
CREATE DATABASE amarokdb CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
GRANT USAGE ON *.* TO amarokuser@localhost IDENTIFIED BY 'amarokpasswd'; | |
GRANT ALL PRIVILEGES ON amarokdb.* TO amarokuser@localhost; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment