5kits zhao

Error: Connection to the database server has failed: Table ‘mysql.servers’ doesn’t exist

The solution is below

linux/plesk

# mysql_fix_privilege_tables --user=admin --password=`cat /etc/psa/.psa.shadow` --verbose

This should definitely fix the problem.

linux/cpanel

# mysql_fix_privilege_tables --user=root --password=<mysql password here> --verbose

References
http://linuxhostingsupport.net/blog/problem-adding-a-database-user-in-plesk-or-restarting-mysql-table-mysql-servers-doesnt-exist


Leave a Reply