[Bug 342227] Re: error when issuing mysqldumpslow
Gustav H Meyer
ghmeyer at gmail.com
Fri Mar 13 12:07:14 GMT 2009
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.
More information about the Ubuntu-server-bugs
mailing list