Skip to content

use mysql compatible configuration and allow duplicate keys in mysqlConf field#932

Open
usernameisnull wants to merge 1 commit intobitpoke:masterfrom
usernameisnull:feat/allow-duplicate-key-in-configuration
Open

use mysql compatible configuration and allow duplicate keys in mysqlConf field#932
usernameisnull wants to merge 1 commit intobitpoke:masterfrom
usernameisnull:feat/allow-duplicate-key-in-configuration

Conversation

@usernameisnull
Copy link
Copy Markdown

@usernameisnull usernameisnull commented Oct 10, 2024

related issue: #931
change spec.mysqlConf field: map[string]map[string]intstr.IntOrString -> string, compatible with original mysql ini configurations

  • allow boolean configuration, only key
  • allow duplicate field

like below:

mysqlConf: |-
    performance-schema # only key
    binlog-format = ROW
    binlog_do_db = db4
    binlog_do_db = db5

in the running mysql instance:
image

the conf in the running instance:
image

  • I've made sure the CHANGELOG.md will remain up-to-date after this PR is merged.

@usernameisnull usernameisnull force-pushed the feat/allow-duplicate-key-in-configuration branch 6 times, most recently from 141bfef to 504805e Compare October 12, 2024 17:04
@usernameisnull usernameisnull force-pushed the feat/allow-duplicate-key-in-configuration branch from 504805e to 726d2c3 Compare October 13, 2024 04:47
@usernameisnull
Copy link
Copy Markdown
Author

PTAL @cndoit18 @calind

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant