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

Andreas Olsson andreas at arrakis.se
Thu Mar 19 09:28:23 GMT 2009


@Thomas: Stange. With or without symlinks (tried both directions) I
still get the same results as Mathias. I even tried with separate copies
of /etc/my.cnf and /etc/mysql/my.cnf.

andol at pc13267:/etc$ strace mysqldump 2>&1 | grep my.cnf
stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=3894, ...}) = 0
open("/etc/mysql/my.cnf", O_RDONLY)     = 3
stat("/home/andol/.my.cnf", 0x7fff7e12d8e0) = -1 ENOENT (No such file or directory)
stat("/usr/etc/my.cnf", 0x7fff7e12d8e0) = -1 ENOENT (No such file or directory)

The /usr/local/Zend/ does make me wonder. Are you sure you are actually
running the mysqldump belonging to the Ubuntu package? What will "which
mysqldump" tell you? What happens if you do the same strace on an
explicit /usr/bin/mysqldump?

This is what Google tells me when I ask about "/usr/local/Zend";
http://www.zend.com/. Does that ring any bell?

By the way, mysql-client-5.0.51a-3ubuntu5.1 is almost a year old.
Current version in Ubuntu 8.04 is 5.0.51a-3ubuntu5.4.

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