[Bug 342578] Re: mysqldump doesn't pick up /etc/mysql/my.cnf

Mathias Gug mathiaz at ubuntu.com
Wed Mar 18 21:46:59 GMT 2009


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 at 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?

** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Importance: Undecided => Low
       Status: New => Incomplete

-- 
mysqldump doesn't pick up /etc/mysql/my.cnf
https://bugs.launchpad.net/bugs/342578
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list