Fix mytop Error in option spec: “long|!”

Posted: 03/04/2013 in MySQL
Tags: ,

I installed mytop in my debian system. Mytop is  is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL server.
I got this error message when i run it

Error in option spec: "long|!"

to fix it i edit

vim /usr/local/bin/mytop

find

"long|!"              => \$config{long_nums},

and comment it out with #

or just install the new 1.7 version from here
https://github.com/jzawodn/mytop

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s