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.

Update me when site is updated

Tags:
Posted in Linux VPS Hosting |

2 Comments to “CPanel Error: Error while connecting to MySQL. Failover enacted”

  1. svar Says:

    Hi,

    Does this module is inbuild in cpanel or i have to download the rpm and install it, if i have to install using rpm please provide the link to download it.

  2. Yogesh Says:

    Hello,
    I am still facing same isssue in cpanel while accessing database.
    Thanks.

Leave a Comment

RSS

  • Subscribe Me

  • Tag Cloud

  • Archives