Merge pull request #700 from picospuch/master

fix some errors in mysql setup file for latest mysql image
This commit is contained in:
Mahmoud Zalt 2017-03-20 13:16:05 -04:00 committed by GitHub
commit d4c727bb2d
1 changed files with 3 additions and 3 deletions

View File

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