MySQL 8.4 fails to start in Backdrop recipe — deprecated Bitnami config parameters
Nobody has claimed this yet.
- 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:
- Set mysql: 8.4 in .lando.yml with Backdrop recipe
- Run lando start
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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