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
Linux, Windows, Software Tips, Articles and Hacks
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