Skip to content

MySQL 8.4 fails to start in Backdrop recipe — deprecated Bitnami config parameters #95

Description

@dsearle-oaklins

When using mysql: 8.4 in the Backdrop recipe, the MySQL container fails to start with:
ERROR [MY-000067] [Server] unknown variable 'default_authentication_plugin=mysql_native_password'
ERROR [MY-000067] [Server] unknown variable 'expire_logs_days=10'

Root Cause:
Bitnami's MySQL initialization script writes these deprecated parameters (removed in MySQL 8.0+) to my.cnf during container boot, after Lando's build_as_root hooks have run. This makes them impossible to intercept via standard Lando configuration.

Steps to Reproduce:

  1. Set mysql: 8.4 in .lando.yml with Backdrop recipe
  2. Run lando start
  3. See MySQL initialization failure

Current Workaround:
Use mysql: 5.7 instead

Suggested Fix:

  • Consider using a different MySQL 8.4 image that doesn't auto-inject deprecated parameters
  • OR add Lando post-boot hook support for services
  • OR provide recipe-level option to skip Bitnami's default_authentication_plugin setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions