Search

Blogroll

Meta:

Display mysql root password on Ensim server

October 22nd, 2008 by vicky

Ever wondered how to find out your mysql root password? Well, on Ensim server it is easy to find out.

ensim-python -c “import sys;sys.path.append(\”/usr/lib/opcenter/mysql\”);import mysqlbe;print mysqlbe.read_mysqlpass()”

It it one line command. Execute it from shell logged in as root. Works well :-)

Posted in Ensim, Mysql | No Comments »

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.