How do I access MySQL using SSH with Plesk installed?
To Access MySQL Using SSH with Plesk installed
- Log on to your server.
- At the command line, type
su
-. This gives you root access. - At the command line, type
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
NOTE: To reset your MySQL password, at the command line, type
mysqladmin -u admin -psetup password $PW