Archive for July, 2007

Plesk: MySQL login as Admin User

Jeff Walters July 13th, 2007

A situation came up with a new Plesk server. I needed to login to MySQL with admin/root access. I had no idea what the password was. Luckily there’s a trick to logging in as the admin user. Login remotely to your server using SSH and do the following:

mysql -u admin -p`cat /etc/psa/.psa.shadow` Your shell prompt should now look like this:

mysql>

Run your command(s).