Fix for Mysql Docker Not Running Entrypoint
When using the Docker MySQL Container, you can specify files in the /docker-entrypoint-initdb.d
folder to be imported or ran when the container is brought up. These can be in the form of .sql
, .sql.gz
or .sh
- and get ran after the database is up but before its accepting connections.
But what if you can’t seem to get these to run again? The fix is just so annoyingly simple.