Login to mySql on Plesk
Posted: Tue Mar 13, 2012 5:25 am
Here is a quick way to login to the mysql database on a system with Plesk with admin privileges.
You can view the password if you like as below.
If it is Plesk 10, then use this:
Code: Select all
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
Code: Select all
cat /etc/psa/.psa.shadow
Code: Select all
/usr/local/psa/bin/admin --show-password