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.

Server mysql Error

Discussion in 'Database Discussions' started by Newsshowtime, Jan 29, 2016.

  1. Newsshowtime

    Newsshowtime Registered

    Joined:
    Jan 29, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Multan
    cPanel Access Level:
    Website Owner
    I am running ubuntu server. When I tried to login to mysql(which was running),I got the following error

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

    But mysqld.sock file doesn't exist inside /var/run/mysqld folder. On executing ps aux | grep mysql command,I realized that mysql server was not running.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any specific error messages in the /var/lib/mysql/$hostname.err log file? Also, keep in mind Ubuntu is not natively supported.

    Thank you.
     
Loading...

Share This Page