CREATE DATABASE $DATABASE CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER $USER@localhost IDENTIFIED BY '$PASSWORD';
GRANT ALL PRIVILEGES ON $DATABASE.* TO $USER;
FLUSH PRIVILEGES;
Last active
July 29, 2016 12:02
-
-
Save jkullick/0e293647b65e0875ada7c41a9dd04f02 to your computer and use it in GitHub Desktop.
Create MySQL Database and User
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment