mysql connection always fails

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
my website always shows the error

"Error establishing a database connection"

after repair after some time it goes down and shows this error

here are error logs
130519 13:35:40 mysqld started
130519 13:35:40 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.92-community' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition (GPL)
130519 16:30:01 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
130519 16:30:01 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
130519 20:30:01 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
130519 20:30:01 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
130520 0:30:03 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
130520 0:30:03 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './horde/horde_sessionhandler.frm'
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Those error messages are related to Horde so it would not be the cause of your website failing to establish a database connection. Try reviewing the MySQL error log at times when you notice the error on your website and not just after MySQL starts.

Thank you.