summaryrefslogtreecommitdiffstats
path: root/root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh')
-rw-r--r--root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh b/root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh
deleted file mode 100644
index c047265..0000000
--- a/root-galera/usr/share/container-scripts/mysql/init/51-extradb.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-extradb() {
-for db in "$MYSQL_EXTRADB"; do
-mysql $mysql_flags <<EOSQL
- GRANT ALL ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;
- FLUSH PRIVILEGES ;
-EOSQL
-done;
-}
-
-if [ -v MYSQL_EXTRADB ]; then
- extradb
-fi
-
-unset -f extradb