Search for:

Available article translations:

What is the root password for MySQL?

Article ID: 427, created on Oct 6, 2008, last review on Feb 27, 2015

  • Plesk for Linux/Unix
  • Plesk for Windows


What is the root password for MySQL?


Parallels Plesk renames root mysql account to admin when Plesk is installed.
To get root privileges in mysql simply login with the admin username instead. The password is the same as the admin password in Parallels Plesk.

On server with Parallels Plesk versions 8.x, 9.x and above admin password is stored in file /etc/psa/.psa.shadow . Use the following command to get the password:

    ~# cat /etc/psa/.psa.shadow

Since Plesk 10 admin password stored in file /etc/psa/.psa.shadow is encrypted. Use the following command to get admin password in plain text:


    ~# /usr/local/psa/bin/admin --show-password


    %plesk_bin%\plesksrvclient --get  

Despite version of Parallels Plesk you may use the following command to login to mysql with root privileges:


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


    %plesk_dir%\MySQL\bin\mysql -uadmin -p<password_from_the_previous_step> DATABASE_NAME

Search words:

root password for MySQL

root password for MySQL

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 85a92ca67f2200d36506862eaa6ed6b8

Was this article helpful?
Tell us how we may improve it.
Yes No
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification