xtrabackup uses a default user even if different user is defined in users config file
Bug #1551706 reported by
Hrvoje Matijakovic
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
High
|
Sergei Glushchenko | |||
2.4 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Originally reported on the blogpost [1], xtrabackup uses a default user even if different user is defined in [client] section.
xtrabackup will use default user
when I have
[client]
user = xtrbackup
[mysqld]
user = mysql
innobackupex –defaults-
It use default user as mysql not xtrbackup.
It will use the last user in the config, not [client] section use.
To post a comment you must log in.
xtrabackup will read both "mysqld" and "client" sections since it is single binary which needs to read both server and client settings... Ordering comes from core mysql code. Probably we can fix this issue completely only when all options will be read from server itself without even looking into "mysqld" section.