-
- Downloads
Use MARIADB_AUTO_UPGRADE=1 to recreate healthcheck users cnf file missings
Factor our create_healthcheck_users. Make sure that when recreating users, if they already exist, we just password reset these and ensure the .my-healtcheck.cnf file is there for usage. We don't want to clobber any existing grants if we happen not to have MARIADB_HEALTHCHECK_GRANTS set. Because creating users needs to move past --skip-grant-tables with FLUSH PRIVEGES, and mariadb-upgrade also issue FLUSH PRIVILEGES, then unfortunately is yet another restart. Adjust test case to ensure there is no .cnf file, and create it on restore.
Showing
- .test/run.sh 4 additions, 1 deletion.test/run.sh
- 10.11/docker-entrypoint.sh 58 additions, 24 deletions10.11/docker-entrypoint.sh
- 10.4/docker-entrypoint.sh 58 additions, 24 deletions10.4/docker-entrypoint.sh
- 10.5/docker-entrypoint.sh 58 additions, 24 deletions10.5/docker-entrypoint.sh
- 10.6/docker-entrypoint.sh 58 additions, 24 deletions10.6/docker-entrypoint.sh
- 11.0/docker-entrypoint.sh 58 additions, 24 deletions11.0/docker-entrypoint.sh
- 11.1/docker-entrypoint.sh 58 additions, 24 deletions11.1/docker-entrypoint.sh
- 11.2/docker-entrypoint.sh 58 additions, 24 deletions11.2/docker-entrypoint.sh
- 11.3/docker-entrypoint.sh 58 additions, 24 deletions11.3/docker-entrypoint.sh
- 11.4/docker-entrypoint.sh 58 additions, 24 deletions11.4/docker-entrypoint.sh
- docker-entrypoint.sh 58 additions, 24 deletionsdocker-entrypoint.sh
Loading
Please sign in to comment