-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
#This file only needs to be run once, during initial development setup | ||
#This file isnt needed for actual deployment | ||
#use this while debugging | ||
CREATE DATABASE template; | ||
CREATE USER 'template'@'%' IDENTIFIED BY 'pikachu'; | ||
GRANT ALL PRIVILEGES ON template.* TO 'template'@'%'; | ||
|
||
#Create the development database | ||
CREATE DATABASE IF NOT EXISTS template; | ||
USE template; | ||
|
||
#Create the database user | ||
CREATE USER IF NOT EXISTS 'template'@'%' IDENTIFIED BY 'pikachu'; | ||
GRANT ALL PRIVILEGES ON template.* TO 'template'@'%'; |