Added proper creation of mysql user, removal of default homestead user

This commit is contained in:
philtrep
2016-11-17 16:37:51 -05:00
parent ecc4e06740
commit 4ef5db3713
3 changed files with 29 additions and 7 deletions

3
mysql/startup Normal file
View File

@ -0,0 +1,3 @@
DROP USER 'homestead';
CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE;
GRANT ALL ON `MYSQL_DATABASE`.* TO 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD';