Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MariaDB changed 'REPLICATION CLIENT' grant to 'BINLOG MONITOR' #1598

Open
ubellavance opened this issue Oct 5, 2023 · 0 comments
Open

MariaDB changed 'REPLICATION CLIENT' grant to 'BINLOG MONITOR' #1598

ubellavance opened this issue Oct 5, 2023 · 0 comments

Comments

@ubellavance
Copy link

Describe the Bug

On this line: https://github.com/puppetlabs/puppetlabs-mysql/blob/29cfd39ae1ad389adb3bf1d631c0869ed77b57c7/manifests/backup/xtrabackup.pp#L69C15-L69C15, the required grant is 'REPLICATION CLIENT', but it doesn't work when used with MariaDB because MariaDB renamed the grant to 'BINLOG MONITOR': https://mariadb.com/kb/en/grant/#replication-client

Expected Behavior

Puppet runs without error

Steps to Reproduce

Steps to reproduce the behavior:

  1. Use the xtrabackup, but with mariabackup method
  2. You will get an error because Puppet removes the 'BINLOG MONITOR' grant and re-adds 'REPLICATION CLIENT'

Environment

  • Puppet version 7.25
  • RHEL, MariaDB 10.11
  • Module version : 14. I can't easily test v15 because of stdlib 9 dependency

Additional Context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants