MySQL Slow Query Log error
In setting up Slow Query Logs on my server, I ran into the following error:
mysqldumpslow
Can't determine basedir from 'my_print_defaults mysqld' -c -c /etc/mysql/my.cnf output: at /usr/bin/mysqldumpslow line 38.It's a bug. Turns out there's an extra
-c in the /usr/bin/mysqldumpslow file. Remove it and it should work.Found that solution here.
Written by Greg on 01 Apr 09