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

2009-03-19 Thread Mathias Gug
** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Status: Incomplete => Invalid

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-03-19 Thread Thomas
Ok guys, sorry for the noise. It was indeed this stupid Zend code thing
which was once installed on this server (and got not cleanly uninstalled
later on), this thread points to the solution:

http://ubuntuforums.org/showthread.php?t=876252

I guess one cannot do anything on Debian's / Ubuntu's side to issue a
warning, but hey, at least you're now aware of the issue ;)

Thanks again for your time,
Thomas.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-03-19 Thread Andreas Olsson
@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.

an...@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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-03-19 Thread Thomas
Hrm... weird enough, this is what my strace tells me (a symlink from
/etc/my.cnf to /etc/mysql/my.cnf exists):

$ strace mysqldump 2>&1 | grep my.cnf
stat64("/etc/my.cnf", {st_mode=S_IFREG|0644, st_size=3959, ...}) = 0
open("/etc/my.cnf", O_RDONLY)   = 3
stat64("/home/tkeller/.my.cnf", 0xbf8ccdb4) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/Zend/Core/etc/my.cnf", 0xbf8ccdb4) = -1 ENOENT (No such file 
or directory)

I have no idea why it looks for /usr/local/Zend/... (this directory path
doesn't exist entirely), but if you say it works for you, its probably
some weird local issue.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-03-18 Thread Mathias Gug
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:

math...@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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs