If you have the root login for that server, then its easy to find MySQL password, you can find that information a ISPConfig 3 config file.
cat /usr/local/ispconfig/server/lib/mysql_clientdb.conf
<?phpYou can now log into you MySQL server with the information extracted from mysql_clientdb.conf:
$clientdb_host = ‘localhost’;
$clientdb_user = ‘root’;
$clientdb_password = ‘VerySecurePassword’;
?>
mysql -h localhost -p dbispconfigThen run:
UPDATE sys_user SET passwort = md5('YourNewPassword') WHERE username = 'admin';
FLUSH PRIVILEGES;
quit;You can now log into your ISPConfig 3 web interface with your new admin password.
0 comments:
Post a Comment