19th Street Design is now Greg Willis Industries!

Head on over to the new website for updated information and the new contact form. I'll keep this old website up until the summer of 2012. Make sure you update your links to the new site. Thanks!

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.

Tags: Debugging | MySQL