Fix:

diff -u /usr/bin/mysqldumpslow.orig /usr/bin/mysqldumpslow
--- /usr/bin/mysqldumpslow.orig 2009-03-13 13:46:43.000000000 +0200
+++ /usr/bin/mysqldumpslow      2009-03-13 13:46:16.000000000 +0200
@@ -34,9 +34,9 @@
 $opt{'help'} and usage();

 unless (@ARGV) {
-    my $defaults   = `my_print_defaults mysqld -c -c /etc/mysql/my.cnf`;
+    my $defaults   = `my_print_defaults mysqld -c /etc/mysql/my.cnf`;
     my $basedir = ($defaults =~ m/--basedir=(.*)/)[0]
-       or die "Can't determine basedir from 'my_print_defaults mysqld' -c -c 
/etc/mysql/my.cnf output: $defaults";
+       or die "Can't determine basedir from 'my_print_defaults mysqld' -c 
/etc/mysql/my.cnf output: $defaults";
     warn "basedir=$basedir\n" if $opt{v};

     my $datadir = ($defaults =~ m/--datadir=(.*)/)[0];

-- 
error when issuing mysqldumpslow
https://bugs.launchpad.net/bugs/342227
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

Reply via email to