Description
Combining issues and PRs about increasing the timeout into one so we can discuss the best solution.
I think it makes sense to have a configurable timeout for the local-only server (and maybe even a "never timeout" option like -1
). We'll need to ensure that the documentation is clear that this just applies to waiting for the temporary server to be ready and does not apply to the overall time taken by initdb stuff (like the user/db/password, tzinfo, and initdb.d
scripts). Maybe something like MYSQL_TEMP_SERVER_WAIT_TIMEOUT
?
Note: the timeout would not apply to 8.0+
since it has --daemonize
that just takes care of it (only returns when the server is ready for connections).
mysql/.template.Debian/docker-entrypoint.sh
Lines 89 to 115 in d284e15
Related issues: MariaDB/mariadb-docker#260, MariaDB/mariadb-docker#272, #159, #288