diff --git a/mysql/startup b/mysql/startup index 320c8bb..0a82f1d 100644 --- a/mysql/startup +++ b/mysql/startup @@ -1,4 +1,4 @@ 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'; +CREATE USER 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD'; +CREATE DATABASE IF NOT EXISTS `MYSQL_DATABASE`; +GRANT ALL ON `MYSQL_DATABASE`.* TO 'MYSQL_USER'@'%';