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

[11.x] github: mariadb database healthcheck+naming #51192

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

grooverdan
Copy link
Contributor

MariaDB's container has a healthcheck.sh script that can be used. mysqladmin ping has flaw that it checks unix socket first which means it can return true while the database is been bootstrapped.

Also use the MariaDB names as we haven't been MySQL for a while.

I looked at a 10.x merge of this, but it uses a different database name ("forge") and would have been a merge conflict going up. Happy to do a 10.x fix if desired.

MariaDB's container has a healthcheck.sh script that can be used.
mysqladmin ping has flaw that it checks unix socket first which
means it can return true while the database is been bootstrapped.

Also use the MariaDB names as we haven't been MySQL for a while.
@grooverdan grooverdan changed the title github: mariadb database healthcheck+naming [11.x] github: mariadb database healthcheck+naming Apr 23, 2024
@driesvints driesvints merged commit 6d598f5 into laravel:11.x Apr 24, 2024
30 checks passed
@driesvints
Copy link
Member

Thanks @grooverdan!

@grooverdan grooverdan deleted the mariadb_ci branch April 24, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants