Last active
July 27, 2018 14:05
-
-
Save lemajes/759d0ef2a9b13293f80ed083b9feaa8e to your computer and use it in GitHub Desktop.
[Wordpress Create Database] Create new Wordpress database #linux #script #bash #wordpress #database #create #new
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
| #!/bin/bash | |
| DBNAME="" | |
| USER="" | |
| PASS="" | |
| CREATE DATABASE $DBNAME CHARACTER SET 'utf8'; | |
| GRANT ALL PRIVILEGES ON $DBNAME.* TO '$USER'@'localhost' IDENTIFIED BY '$PASS'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment