lando / lando/backdrop

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

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MySQL 8.4 setting in .lando.yml and the Backdrop recipe, then run lando start to reproduce the initialization failure. Check when Bitnami writes my.cnf relative to Lando build_as_root hooks and determine which suggested integration approach is appropriate. Done means the MySQL 8.4 container starts without the deprecated parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.