blackbirdchess-docker-dev/mysql/startup

5 lines
195 B
Plaintext
Raw Normal View History

DROP USER IF EXISTS 'MYSQL_USER';
CREATE USER 'MYSQL_USER'@'%' IDENTIFIED BY 'MYSQL_PASSWORD';
2016-11-28 18:52:20 +01:00
CREATE DATABASE IF NOT EXISTS MYSQL_DATABASE;
GRANT ALL ON MYSQL_DATABASE.* TO 'MYSQL_USER'@'%';