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 »

3 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.

  3. Desi Says:

    install HTTP:ateate
    comes back with:
    Warning: can’t install HHTP:atete Don’t know what it is.
    I am running Centos 5, PHP 5.2 and Mysql 5.2.14
    Thanks

Leave a Comment

RSS

  • Subscribe Me

  • Tag Cloud

  • Archives