From d8875cb588fc5f94a8a1dd6805ef6d57f7a907f9 Mon Sep 17 00:00:00 2001 From: Blaasvis Date: Mon, 28 Nov 2016 18:52:20 +0100 Subject: [PATCH] Update startup --- mysql/startup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mysql/startup b/mysql/startup index 88ecce2..320c8bb 100644 --- a/mysql/startup +++ b/mysql/startup @@ -1,3 +1,4 @@ -DROP USER 'homestead'; -CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE; -GRANT ALL ON `MYSQL_DATABASE`.* TO 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD'; \ No newline at end of file +DROP USER IF EXISTS 'MYSQL_USER'; +CREATE USER 'MYSQL_USER'@'%'; +CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE; +GRANT ALL ON MYSQL_DATABASE.* TO 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD';