build from inception
This commit is contained in:
5
srcs/requirements/mariadb/conf/create_db.sql
Normal file
5
srcs/requirements/mariadb/conf/create_db.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
USE mysql;
|
||||
|
||||
CREATE DATABASE IF NOT EXISTS ${DB_NAME};
|
||||
CREATE USER IF NOT EXISTS '${DB_USER}'@'%' IDENTIFIED BY '${DB_PSWD}';
|
||||
GRANT ALL PRIVILEGES ON ${DB_NAME}.* TO '${DB_USER}'@'%' with grant option;
|
||||
Reference in New Issue
Block a user