mysql or percona does not support customer's --defaults-file in mysqld_multi
Bug #1470005 reported by
linzuxiong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
mysql-community 5.6.x
percona-server 5.6.24-72.2
If below command , it can not start the instance.
mysqld_multi --defaults-
If below command, it can start the instance.
mysqld_multi --defaults-
# ll /etc/my.*
-rw-r--r-- 1 root root 1314 Jun 30 16:09 /etc/my.cnf
-rw-r--r-- 1 root root 1024 Jun 30 16:02 /etc/my.multi.cnf
To post a comment you must log in.
Manual (https:/ /dev.mysql. com/doc/ refman/ 5.6/en/ mysqld- multi.html) says:
" mysqld_multi searches for option files as follows:
With --no-defaults, no option files are read.
With --defaults- file=file_ name, only the named file is read.
Otherwise, option files in the standard list of locations are read, including any file named by the --defaults- extra-file= file_name option, if one is given. (If the option is given multiple times, the last value is used.) "
So, if you have [mysqld1] etc only in the /etc/my.multi.cnf the first command is expected to NOT work. It reads only /etc/my.cnf and nothing else.