How to login to MySQL server as root user on Plesk

Posted on 22-11-2017 by Nadir Latif


Source: https://support.plesk.com/hc/en-us/articles/213909425

To login to MySQL server as root privileges on a Plesk server we can use the following command: MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin