Closed HellPat closed 6 years ago
@psren thanks for the report.
This is working as expected for me. I tried the lando/examples/laravel
with mariadb
(the default) and with mysql
in both cases lando mysql
connected me to the DB sever correctly.
Are you using a default laravel install? if not could be something specific to your app configuration.
while not ALWAYS the case this usually happens when you try to switch databases and is documented here https://docs.devwithlando.io/issues/switching-dbs.html
lando rebuild && lando mysql
Thank you for the link!
This command resolved my issue
lando destroy && lando start
Bug Report
Client: Version: 17.09.0-ce API version: 1.32 Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:40:09 2017 OS/Arch: darwin/amd64
Server: Version: 17.09.0-ce API version: 1.32 (minimum version 1.12) Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:45:38 2017 OS/Arch: linux/amd64 Experimental: false
Tell us about your
.lando.yml
Tell us about the command you were running
Tell us about the error you got
Example:
Results in
Does this bug prevent you from using lando?
Yes, I can't connect to the database
How can I solve this issue, I think this might be a docker problem but could not find any solution :-( (Sorry, I'm a stupid newbie and hoped lando will help me to use docker nevertheless)