Created
March 8, 2015 08:00
-
-
Save oterox/03c928bca4a9961a24a5 to your computer and use it in GitHub Desktop.
mysql create database and user
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 USER 'wpuser'@'localhost' IDENTIFIED BY 'password'; | |
CREATE DATABASE demo; | |
GRANT ALL PRIVILEGES ON *.* TO 'wpuser'@'localhost'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment