Getting error "MySQL init process failed" consistently after MariaDB upgrade from 10.2.13 to 10.2.26.
MariaDB stores its data in volumes mapped to NFS shared storage which is sometimes slow.
Setting MYSQL_INIT_RETRIES_NUM environment variable to 120 fixed the issue. MariaDB init process has finished after almost 4 minutes.
Relevant issue: https://github.com/docker-library/mariadb/issues/257
Such timeout is similar to MYSQL_START_TIMEOUT
Getting error "MySQL init process failed" consistently after MariaDB upgrade from 10.2.13 to 10.2.26. MariaDB stores its data in volumes mapped to NFS shared storage which is sometimes slow. Setting MYSQL_INIT_RETRIES_NUM environment variable to 120 fixed the issue. MariaDB init process has finished after almost 4 minutes. Relevant issue: https://github.com/docker-library/mariadb/issues/257 Such timeout is similar to MYSQL_START_TIMEOUT