Comment 1 for bug 342578

Revision history for this message
Mathias Gug (mathiaz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Testing mysqldump on hardy shows that /etc/mysql/my.cnf is opened and read:

mathiaz@t-mysql-h:~$ strace mysqldump 2>&1 | grep 'my.cnf'
stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=3926, ...}) = 0
open("/etc/mysql/my.cnf", O_RDONLY) = 3
stat("/home/mathiaz/.my.cnf", 0x7fff0d7f0fc0) = -1 ENOENT (No such file or directory)
stat("/usr/etc/my.cnf", 0x7fff0d7f0fc0) = -1 ENOENT (No such file or directory)

Setting options under mysqldump section in /etc/mysql/my.cnf is also working correctly.

Could you outline what doesn't work for you?