MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
770 stars 438 forks source link

Added MYSQL_INIT_RETRIES_NUM env var #272

Closed w7089 closed 4 years ago

w7089 commented 4 years ago

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

w7089 commented 4 years ago

If it's approved, will edit the docs

yosifkit commented 4 years ago

Apologies for the delay :bowing_man:

Closing in favor of https://github.com/docker-library/mysql/issues/646