Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker mysql:latest has updated to 8.x and crashes database containers. #908
OS: Mac 10.13.4
Rebuilding an existing Lando app on a previous version Lando (v3.0.0-beta.39) or installing Lando v3.0.0-beta.40 causes the mysql:latest docker tag to install MySQL 8.x. This causes lando mysql containers to fail to start with a repeating loop of the following message:
I did a
The error continues on until mysqld shuts itself down.
I noticed in the output that
I was able to workaround this issue for now by adding database service with
I feel that given the
@sk33lz I think you are right on. We've been letting people 'run with the devil' with their service versions for quite a while, specifically because Docker itself makes this so easy, and for a lot of services, breaking changes don't drop on us like this.
After the headache this has caused though, I think your suggestion is a good one. We'll definitely be taking a look at this.
I'm actually using the workaround but when I do a lando rebuild I get an endless list of this:
Which makes me feel like
(This was a good intended joke, I appreciate your hard work towards Lando!)
@dustinleblanc I tried:
I'm using 3.0.0-beta.40
I have confirmed the proposed solution works on ANY MySQL version, not just the latest:
I guess the fix would/should be the config below either needs removed or updated so the services -> database section is not needed.
Thank you @dustinleblanc! I wasn't sure, but this seemed like the best lead, after reading through the issues here, and trying a bunch of different things (including completely reinstalling Lando, Docker, and all config). My problem is actually with
@jacine No problem
We did have an issue on the platform the other day that was a mistake that was causing syntax errors like this on lando pulls. It was related to a patch we released the previous day, it got fixed yesterday though. Are things behaving normally for you now?