Merge pull request #13832 from Budibase/fix-mariadb-healthcheck

Fix mariadb healthcheck.
This commit is contained in:
Sam Rose 2024-05-31 16:04:40 +01:00 committed by GitHub
commit 792970a93e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class MariaDBWaitStrategy extends AbstractWaitStrategy {
await logs.waitUntilReady(container, boundPorts, startTime)
const command = Wait.forSuccessfulCommand(
`mysqladmin ping -h localhost -P 3306 -u root -ppassword`
`/usr/local/bin/healthcheck.sh --innodb_initialized`
)
await command.waitUntilReady(container)
}