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

Lando MySQL connection does not persist between stop/start of containers #95

Open
jakoblundoe opened this issue Jan 23, 2025 · 2 comments

Comments

@jakoblundoe
Copy link

If I use Lando default config (e.g. lando init), ".lando.yml" looks like this:

name: wp-app
recipe: wordpress
config:
  webroot: .

Everything works on first containers running.
But after lando stop and lando start, the data from MySQL does not persist.

If I add database: mysql to the ".landa.yml":

name: wp-app
recipe: wordpress
config:
  webroot: .
  database: mysql

The data persist between container stop/start.

Am i missing something obvious or is this a bug?

@rtfm-47 rtfm-47 transferred this issue from lando/lando Jan 23, 2025
@AaronFeledy
Copy link
Member

That shouldn't make a difference. The data should persist. Are you running the latest version of Lando and the Wordpress plugin?

@jakoblundoe
Copy link
Author

Yes, running the latest version of Lando.

Lando: 3.20.8
Wordpress: 6.7.1
Docker Desktop (MacOS): 4.37.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants