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

mysql_db: Add support for sql_log_bin #700

Open
hyvs opened this issue Jan 29, 2025 · 1 comment
Open

mysql_db: Add support for sql_log_bin #700

hyvs opened this issue Jan 29, 2025 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@hyvs
Copy link

hyvs commented Jan 29, 2025

SUMMARY

The mysql_user module has an interesting feature that allows creating users without writing to the binary log:

community.mysql.mysql_user:
    name: foo
    ...
    sql_log_bin: false

This feature is particularly useful for provisioning all servers in a primary-replica cluster without breaking replication or needing to identify the primary server at any given time.

Could this be a valuable addition to the mysql_db module?

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

mysql_db

ADDITIONAL INFORMATION
community.mysql.mysql_db:
  name: foo
  sql_log_bin: false # (default should be true)
  state: present
@Andersson007 Andersson007 added the help wanted Extra attention is needed label Jan 30, 2025
@Andersson007
Copy link
Collaborator

@hyvs thanks for opening the issue.
I've put the help wanted label to indicate that this needs at least some investigation.
If anybody sure it's a good feature, there a quick start dev guide that can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants