-
Notifications
You must be signed in to change notification settings - Fork 8
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
healthcheck Access denied to database(s) #51
Comments
@zdenekgebauer could you try doing a The DB creds are set in the app's config when it's first started; if they change after that, it could cause the healthcheck to fail since it may be trying to use the new creds provided in See https://docs.lando.dev/help/switching-dbs.html for more reference. |
Error occurs on each start, I did not change DB creds. I tried to do |
So regarding your question; The healthchecks, in the case of the DB, actually tries to log into the database service from within the container to make sure the service is working: https://docs.lando.dev/core/v3/healthcheck.html I believe the healthcheck test fails because of the empty
Probably the actionable thing on this ticket is to make sure our default |
The problem is really caused by the "password:" setting. If I delete this line, healthcheck passes. The |
I have a .lando.yml file configured as follows:
Command
lando start
writes error:However, despite the error, phpMyAdmin can access the database, and the user testlando exists. Error occurs even with a MySQL database.
Shouldn't the healthchecking be skipped with the option
scanner:false
?Tested on v3.21.0-beta.7, Windows 10, Docker Desktop version 4.27.2
The text was updated successfully, but these errors were encountered: