We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cc415 commit e04963aCopy full SHA for e04963a
root/etc/cont-init.d/40-initialise-db
@@ -70,6 +70,8 @@ $MYSQL_DB_SETUP
70
EONEWSQL
71
echo "Setting Up Initial Databases"
72
73
+echo "USE ${MYSQL_DATABASE};" >> "$tempSqlFile"
74
+
75
# add all sql from a user defined directory on first init
76
if ([ -e "/config/initdb.d" ] && [ -n "$(/bin/ls -A /config/initdb.d/*.sql 2>/dev/null)" ]); then
77
cat /config/initdb.d/*.sql >> "$tempSqlFile"
0 commit comments