Archive for the tag 'retrieve mysql root password'

To display the current root password for the mysql server running Ensim Panel you can use the following command logged on SSH as root,

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