Skip to content

MySQL

MySQL is a very common database server.

You can easily add it to your Lando app by adding an entry to the services top-level config in your Landofile.

yaml
services:
  myservice:
    type: mysql:8.0

Supported versions

Patch versions

Not officially supported!

While we allow users to specify patch versions for this service they are not officially supported so if you use one, YMMV.

To use a patch version, you can do something as shown below:

yaml
services:
  myservice:
    type: mysql:5.7.24

But make sure you use one of the available patch tags for the underlying image we are using.