Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MYSQL_INIT_RETRIES_NUM env var #272

Closed
wants to merge 1 commit into from
Closed

Conversation

w7089
Copy link

@w7089 w7089 commented Nov 5, 2019

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: #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: MariaDB#257
Such timeout is similar to MYSQL_START_TIMEOUT
@w7089
Copy link
Author

w7089 commented Nov 5, 2019

If it's approved, will edit the docs

@yosifkit
Copy link
Contributor

yosifkit commented Mar 4, 2020

Apologies for the delay 🙇‍♂️

Closing in favor of docker-library/mysql#646

@yosifkit yosifkit closed this Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants