mysql-operator icon indicating copy to clipboard operation
mysql-operator copied to clipboard

mysqlConf with plugin-load-add

Open jiuker opened this issue 4 years ago • 0 comments

Version:latest I set

  mysqlConf:
      skip_ssl: 1
      plugin-load-add: "semisync_master.so;semisync_slave.so"
      rpl_semi_sync_master_enabled: 1
      rpl_semi_sync_master_timeout: 1000  # 1秒
      rpl_semi_sync_slave_enabled: 1

This version: The resulting configMap has 'plugin-load-add = semisync_ master.so; semisync_ slave. so', but this MySQL starts with an error.([ERROR] Can't open shared library '/usr/lib/mysql/plugin/`semisync_master.so') If you remove the quotation marks, MySQL will start correctly. This is because 'ini', a third-party package, contains values byte ';' automatic quotation marks. Hope: I wish I could add a mysqlStaticConf field and leave the configuration as it is.Because the keys of some values can be set repeatedly。

jiuker avatar Feb 16 '22 07:02 jiuker