How can I access MySQL databases in Plesk?

Linux:


# mysql -uadmin -p`cat /etc/psa/.psa.shadow` DATABASE_NAME

Windows:
This will retrieve admin password


cd %plesk_bin%
plesksrvclient -get

Login to mysql


cd %plesk_dir%\mysql\bin
mysql -uadmin -pPassword -P8306 

Leave a Comment