CPanel Error: Error while connecting to MySQL. Failover enacted

Written by Mike on February 21, 2009 – 12:36 pm -

CPanel of any domain shows following Error on MySQL Databases Section of Left Hand Side Panel

Error while connecting to MySQL. Failover enacted.


SOLUTION:

This error comes when Perl modules for database are outdated OR not installed. You can install them using following Commands:

root@server [~]# perl -MCPAN -e shell

cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install HTTP:ateate
cpan> install HTTP:Date
cpan> install Net::AIM::Connection
cpan> install Net::AIM
cpan> install Tie::IxHash
cpan> install DBI
cpan> install DBD::mysql

Restart MySQL.


Tags:
Posted in Linux VPS Hosting | 3 Comments »
RSS

  • Subscribe Me

  • Tag Cloud

  • Archives