Merge pull request #918 from bestlong/create-multiple-database
MariaDB/Percona Create multiple database
This commit is contained in:
commit
264bec8806
1
mariadb/docker-entrypoint-initdb.d/.gitignore
vendored
Normal file
1
mariadb/docker-entrypoint-initdb.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sql
|
8
mariadb/docker-entrypoint-initdb.d/createdb.sql.example
Normal file
8
mariadb/docker-entrypoint-initdb.d/createdb.sql.example
Normal file
@ -0,0 +1,8 @@
|
||||
###
|
||||
### Copy createdb.sql.example to createdb.sql
|
||||
### then uncomment and set database name to create you need databases
|
||||
###
|
||||
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_1` ;
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_2` ;
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_3` ;
|
1
percona/docker-entrypoint-initdb.d/.gitignore
vendored
Normal file
1
percona/docker-entrypoint-initdb.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sql
|
8
percona/docker-entrypoint-initdb.d/createdb.sql.example
Normal file
8
percona/docker-entrypoint-initdb.d/createdb.sql.example
Normal file
@ -0,0 +1,8 @@
|
||||
###
|
||||
### Copy createdb.sql.example to createdb.sql
|
||||
### then uncomment and set database name to create you need databases
|
||||
###
|
||||
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_1` ;
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_2` ;
|
||||
#CREATE DATABASE IF NOT EXISTS `dev_db_3` ;
|
Loading…
Reference in New Issue
Block a user