The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql connection always fails

Discussion in 'General Discussion' started by mojamoi, Jan 27, 2014.

  1. mojamoi

    mojamoi Well-Known Member

    Joined:
    Jul 23, 2007
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    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'
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page