--defaults-group getting ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Confirmed
|
Medium
|
Unassigned | ||
2.2 |
Confirmed
|
Medium
|
Sergei Glushchenko | ||
2.3 |
Confirmed
|
Medium
|
Unassigned |
Bug Description
--defaults-
/usr/bin/
compress --parallel=8 --compress-
nnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
Get the latest version of Percona XtraBackup, documentation, and help resources:
http://
150414 13:22:57 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/
main:
innobackupex: Error: Failed to connect to MySQL server: DBI connect(
Sample backup.my.cnf values:
[client_group1]
user = backupuser
password = "password"
socket = /socket_path/socket
affects: | percona-server → percona-xtrabackup |
description: | updated |
Ignored by innobackupex.pl when it comes to connecting to MySQL.
Suggested fix:
--- a/storage/ innobase/ xtrabackup/ innobackupex. pl innobase/ xtrabackup/ innobackupex. pl n_options {
$con- >{dsn} .= ";mysql_ read_default_ file=$option_ defaults_ extra_file" ;
+++ b/storage/
@@ -2940,7 +2940,7 @@ sub parse_connectio
}
- $con->{dsn} .= ";mysql_ read_default_ group=xtrabacku p"; read_default_ group=$ option_ defaults_ group";
+ $con->{dsn} .= ";mysql_
if ($option_ mysql_password) {
$con- >{dsn_password} = "$option_ mysql_password" ;