Article ID: 229, created on Oct 6, 2008, last review on Apr 17, 2012

  • Applies to:
  • Plesk for Windows


There is a problem with some Mysql packages . They utilize 'mysqladmin ping' to check the MySQL server status but this utility has a bug - it returns wrong status in case of 'Access denied' response (additional information can be found at Plesk secures  MySQL root  access with a password, this is why MySQL displays wrong 'failed' status after Plesk is installed.

To fix this, you can do the following:
In the /etc/init.d/mysql file replace the line



MYADMIN="/usr/bin/mysqladmin -uadmin -p'cat /etc/psa/.psa.shadow'"

It will allow the 'mysqladmin ping' command to use the correct Plesk admin login information to connect to MySQL server.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF