Closed RobertAKARobin closed 1 year ago
@RobertAKARobin I believe you can set a custom .cnf
file on the database service using the instructions from the MariaDB service: https://docs.lando.dev/mariadb/config.html#using-a-custom-mariadb-config-file
So something like this should work in your .lando.yml:
services:
database:
config:
database: local/path/to/my.cnf
...feel free to ping me on Slack if you have further issues: https://launchpass.com/devwithlando
I inherited a big ol' Drupal codebase that is running in Pantheon. I want to migrate it to Lando.
lando init
went fine. Howeverlando start
keeps failing with 403 errors. I checkedlando logs
and see a lot of instances of:From Googling it sounds like the solution is to increase the
max_allowed_packet
setting. However, I'm not sure where to do this. Most answers reference a.cnf
file but the codebase doesn't have any such files, and if this can go in the.lando.yml
file it's unclear where.Thoughts?