File tree 4 files changed +16
-0
lines changed
4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ _main() {
341
341
# there's no database, so it needs to be initialized
342
342
if [ -z " $DATABASE_ALREADY_EXISTS " ]; then
343
343
docker_verify_minimum_env
344
+
345
+ # check dir permissions to reduce likelihood of half-initialized database
346
+ ls /docker-entrypoint-initdb.d/ > /dev/null
347
+
344
348
docker_init_database_dir " $@ "
345
349
346
350
mysql_note " Starting temporary server"
Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ _main() {
341
341
# there's no database, so it needs to be initialized
342
342
if [ -z " $DATABASE_ALREADY_EXISTS " ]; then
343
343
docker_verify_minimum_env
344
+
345
+ # check dir permissions to reduce likelihood of half-initialized database
346
+ ls /docker-entrypoint-initdb.d/ > /dev/null
347
+
344
348
docker_init_database_dir " $@ "
345
349
346
350
mysql_note " Starting temporary server"
Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ _main() {
341
341
# there's no database, so it needs to be initialized
342
342
if [ -z " $DATABASE_ALREADY_EXISTS " ]; then
343
343
docker_verify_minimum_env
344
+
345
+ # check dir permissions to reduce likelihood of half-initialized database
346
+ ls /docker-entrypoint-initdb.d/ > /dev/null
347
+
344
348
docker_init_database_dir " $@ "
345
349
346
350
mysql_note " Starting temporary server"
Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ _main() {
341
341
# there's no database, so it needs to be initialized
342
342
if [ -z " $DATABASE_ALREADY_EXISTS " ]; then
343
343
docker_verify_minimum_env
344
+
345
+ # check dir permissions to reduce likelihood of half-initialized database
346
+ ls /docker-entrypoint-initdb.d/ > /dev/null
347
+
344
348
docker_init_database_dir " $@ "
345
349
346
350
mysql_note " Starting temporary server"
You can’t perform that action at this time.
0 commit comments