Bug #22308 Instance Manager does not support multiple options
Description:
There are options, that can be specified multiple times
("replication-do-db", for one).
Instance Manager does not support such options.
How to repeat:
1. Create configuration with multiple options.
For example:
[mysqld1]
server_id = 1
port = 50001
socket = /home/alik/MySQL/var/5.1-rt-build/mysqld.socket
nonguarded
max_allowed_packet = 20000000
language = /home/alik/MySQL/devel/5.1-rt-build/sql/share/english
character-sets-dir = /home/alik/MySQL/devel/5.1-rt-build/sql/share/charsets
basedir = /home/alik/MySQL/devel/5.1-rt-build
datadir = /home/alik/MySQL/var/5.1-rt-build
skip-stack-trace
skip-innodb
replication-do-db = db1
replication-do-db = db2
2. Start Instance Manager
3. List options for mysqld1 by "SHOW INSTANCE OPTIONS":
mysql> show instance options mysqld1;
+--------------------+--------------------------------------------------------+
| option_name | value |
+--------------------+--------------------------------------------------------+
| instance_name | mysqld1 |
| server_id | 1 |
| port | 50001 |
| socket | /home/alik/MySQL/var/5.1-rt-build/mysqld.socket |
| nonguarded | |
| max_allowed_packet | 20000000 |
| language | /home/alik/MySQL/devel/5.1-rt-build/sql/share/english |
| character-sets-dir | /home/alik/MySQL/devel/5.1-rt-build/sql/share/charsets |
| basedir | /home/alik/MySQL/devel/5.1-rt-build |
| datadir | /home/alik/MySQL/var/5.1-rt-build |
| skip-stack-trace | |
| skip-innodb | |
| replication-do-db | db2 |
| pid-file | mysqld1-booka.pid |
+--------------------+--------------------------------------------------------+
14 rows in set (0.01 sec)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders. It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: There are options, that can be specified multiple times ("replication-do-db", for one). Instance Manager does not support such options. How to repeat: 1. Create configuration with multiple options. For example: [mysqld1] server_id = 1 port = 50001 socket = /home/alik/MySQL/var/5.1-rt-build/mysqld.socket nonguarded max_allowed_packet = 20000000 language = /home/alik/MySQL/devel/5.1-rt-build/sql/share/english character-sets-dir = /home/alik/MySQL/devel/5.1-rt-build/sql/share/charsets basedir = /home/alik/MySQL/devel/5.1-rt-build datadir = /home/alik/MySQL/var/5.1-rt-build skip-stack-trace skip-innodb replication-do-db = db1 replication-do-db = db2 2. Start Instance Manager 3. List options for mysqld1 by "SHOW INSTANCE OPTIONS": mysql> show instance options mysqld1; +--------------------+--------------------------------------------------------+ | option_name | value | +--------------------+--------------------------------------------------------+ | instance_name | mysqld1 | | server_id | 1 | | port | 50001 | | socket | /home/alik/MySQL/var/5.1-rt-build/mysqld.socket | | nonguarded | | | max_allowed_packet | 20000000 | | language | /home/alik/MySQL/devel/5.1-rt-build/sql/share/english | | character-sets-dir | /home/alik/MySQL/devel/5.1-rt-build/sql/share/charsets | | basedir | /home/alik/MySQL/devel/5.1-rt-build | | datadir | /home/alik/MySQL/var/5.1-rt-build | | skip-stack-trace | | | skip-innodb | | | replication-do-db | db2 | | pid-file | mysqld1-booka.pid | +--------------------+--------------------------------------------------------+ 14 rows in set (0.01 sec)