lando / lando/wordpress

expire_logs_days not supported under MySQL 8.2+

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

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
22
Forks
14
PR merge metrics
No merged PRs in 30d

Description

wordpress/config
/mysql8.cnf:51 sets expire_logs_days = 10.

However, this variable was removed in 8.2 and throws an error causing the container to abort.

It is replaced by binlog_expire_logs_seconds = 864000

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

Inspect config/mysql8.cnf at line 51 and confirm the MySQL 8.2 compatibility issue described here. Update the configuration to use the supported binlog expiration setting, then verify that the WordPress container starts successfully with MySQL 8.2 or later.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.