diff --git a/mariadb/docker-entrypoint-initdb.d/.gitignore b/mariadb/docker-entrypoint-initdb.d/.gitignore new file mode 100644 index 0000000..d1b811b --- /dev/null +++ b/mariadb/docker-entrypoint-initdb.d/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/mariadb/docker-entrypoint-initdb.d/createdb.sql.example b/mariadb/docker-entrypoint-initdb.d/createdb.sql.example new file mode 100644 index 0000000..07b277e --- /dev/null +++ b/mariadb/docker-entrypoint-initdb.d/createdb.sql.example @@ -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` ; diff --git a/percona/docker-entrypoint-initdb.d/.gitignore b/percona/docker-entrypoint-initdb.d/.gitignore new file mode 100644 index 0000000..d1b811b --- /dev/null +++ b/percona/docker-entrypoint-initdb.d/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/percona/docker-entrypoint-initdb.d/createdb.sql.example b/percona/docker-entrypoint-initdb.d/createdb.sql.example new file mode 100644 index 0000000..07b277e --- /dev/null +++ b/percona/docker-entrypoint-initdb.d/createdb.sql.example @@ -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` ;