puppetlabs / puppetlabs-mysql

MySQL Puppet Module / Manifests + Types & Providers
Apache License 2.0
380 stars 790 forks source link

Remove deprecated option expire_logs_days from default config #1625

Closed fraenki closed 1 month ago

fraenki commented 5 months ago

Summary

The option expire_logs_days is deprecated and should no longer be used. This PR removes it from the default configuration.

Additional Context

This change should only have a minor effect on existing installations. Old versions of MySQL (5.7) will fallback to their internal default value of expire_logs_days. Newer versions (MySQL 8.0) will probably already use the new option binlog_expire_logs_seconds.

This removes the following warning from MySQL's log:

[Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

Related Issues (if any)

none

Checklist

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.