xtrabackup doesn't finds the config file in debian
Bug #346056 reported by
Alex Barrera
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Won't Fix
|
Low
|
Unassigned |
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 options are read from the following files in the given order:
/etc/my.cnf /usr/local/
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
Changed in percona-xtrabackup: | |
status: | Won't Fix → Confirmed |
Changed in percona-xtrabackup: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
You can change the path in the
mysys/default.c
line
errors += add_directory( alloc, "/etc/", dirs);
to your favorite directories.
We assume xtrabackup is build with the same source of the MySQL used.