Last active
August 29, 2015 14:01
-
-
Save octavian-nita/95372f22b70a12183b28 to your computer and use it in GitHub Desktop.
Create MySQL database and user and grant rights (precedes many tool installations like WordPress, Koken, etc.)
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 IF NOT EXISTS kabuki DEFAULT CHARACTER SET = 'utf8' DEFAULT COLLATE 'utf8_general_ci'; | |
| GRANT USAGE ON *.* TO 'koken'@'localhost' IDENTIFIED BY 'Midori1981'; | |
| GRANT ALL PRIVILEGES ON kabuki.* TO 'koken'@'localhost'; | |
| FLUSH PRIVILEGES; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see http://www.bluepiccadilly.com/2011/12/creating-mysql-database-and-user-command-line-and-bash-script-automate-process for simple explanation