summaryrefslogtreecommitdiffstats
path: root/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'mysql')
-rw-r--r--mysql/Dockerfile4
-rw-r--r--mysql/docker-entrypoint-initdb.d/adei.sql1
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql/Dockerfile b/mysql/Dockerfile
new file mode 100644
index 0000000..8a89e26
--- /dev/null
+++ b/mysql/Dockerfile
@@ -0,0 +1,4 @@
+FROM mysql:5.7
+MAINTAINER Suren A. Chilingaryan <csa@suren.me>
+
+COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
diff --git a/mysql/docker-entrypoint-initdb.d/adei.sql b/mysql/docker-entrypoint-initdb.d/adei.sql
new file mode 100644
index 0000000..a17fcfe
--- /dev/null
+++ b/mysql/docker-entrypoint-initdb.d/adei.sql
@@ -0,0 +1 @@
+GRANT ALL ON `adei_%`.* TO 'adei'@'%';