MyTop broken!

In a post way back in January of 2005, I discussed the software MyTop for monitoring connections on your MySQL server. I’ve had it installed and use it semi-regularly – however, it doesn’t always work – often I am greeted with the following error:

Cannot connect to MySQL server. Please check the:

* database you specified “test” (default is “test”)
* username you specified “root” (default is “root”)
* password you specified “” (default is “”)
* hostname you specified “localhost” (default is “localhost”)
* port you specified “3306″ (default is 3306)
* socket you specified “” (default is “”)

The options my be specified on the command-line or in a ~/.mytop
config file. See the manual (perldoc mytop) for details.

Here’s the exact error from DBI. It might help you debug:

Unknown database ‘test’

A pain in the butt, as I get it quite regularly and normally get one of the techs to tinker with it… Here’s the fix!

Simply enter the following command:

echo “db=mysql” > ~/.mytop

This entry was posted on Thursday, July 5th, 2007 at 5:22 pm and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed.


Leave a Reply


What I'm Doing...

  • Android why can't I create a repition of a calendar event every other week? I can do weekly, every xth of the month but not every other! 10 hrs ago
  • Get a private beta invite for Connect.Me. It's your reputation card for the social web http://t.co/ZWV66HMM 11 hrs ago
  • Waiting for a callback from the doctor, why can't they tweet me or do a Skype diagnosis? 23 hrs ago
  • RT @CatherineQ: Congrats team in white shiny pants that won. Commiserations to team in white shiny pants that didn't win. #Superbowl < ;) 1 day ago
  • Looking at superbowl tweets, sounds like I didn't miss much! 1 day ago
  • More updates...
@Keiron