Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

MariaDB latest update problem after upgrading to mariadb 10.1

Discussion in 'Database Discussions' started by Ahmed Hany, Oct 29, 2016.

Tags:
  1. Ahmed Hany

    Ahmed Hany Member

    Joined:
    Apr 8, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hi ,

    I've a problem, ater upgrading from mariadb 10.0 to the latest version some of websites on the server doesn't work and gives this error

    " Error establishing a database connection "

    This error appears in many websites running on the server and i don't know what i should do to fix this?
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    568
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    You are getting this error because websites unable to establish a database connection or database has been corrupted.
    1) Please make sure MySQL service is running on the server.
    2) Please check MySQL error logs while getting this error.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the recent output to /var/lib/mysql/$hostname.err? You can use a command such as:

    Code:
    tail -300 /var/lib/mysql/$hostname.err
    Replace "$hostname" with your server's hostname.

    Thank you.
     
Loading...

Share This Page