Merge pull request #451 from Blaasvis/master
Update MySQL startup script
This commit is contained in:
commit
4f819c238c
|
@ -1,3 +1,4 @@
|
||||||
DROP USER 'homestead';
|
DROP USER IF EXISTS 'MYSQL_USER';
|
||||||
CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE;
|
CREATE USER 'MYSQL_USER'@'%';
|
||||||
GRANT ALL ON `MYSQL_DATABASE`.* TO 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD';
|
CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE;
|
||||||
|
GRANT ALL ON MYSQL_DATABASE.* TO 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD';
|
||||||
|
|
Loading…
Reference in New Issue