← Back to team overview

percona-discussion team mailing list archive

[Bug 346056] Re: xtrabackup doesn't finds the config file in debian

 

** Changed in: percona-xtrabackup
       Status: Won't Fix => Confirmed

-- 
xtrabackup doesn't finds the config file in debian
https://bugs.launchpad.net/bugs/346056
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona-XtraBackup.

Status in Open source backup tool for InnoDB and XtraDB: Confirmed

Bug description:
I had to compile xtrabackup for 32 bits and I did so against MySQL 5.0.77 source. The problem? xtrabackup uses my_print_default_files() (libmysql/default.c) to look for config files. By default, the MySQL source looks for the config file in:

Default options are read from the following files in the given order:
/etc/my.cnf /usr/local/etc/my.cnf ~/.my.cnf

Problem is that the deb mysql package puts the config file under /etc/mysql/my.cnf. So I guess that the tool should either do an extra check for that path or (more logically) add a cmd line flag to specify a config file (-c config_path).

Hope this helps :)

Alex



References