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.

mysql.sock

Discussion in 'Database Discussions' started by asmithjr, Aug 12, 2015.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    503
    Likes Received:
    4
    Trophy Points:
    168
    I was doing an update on my machine.
    Now when I try to connect to a website with connection to mysql I get
    Connection Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    I do a ps -ef and I see mysql is running.

    I do not see a mysql.sock in my /var/lib/mysql folder

    What now?
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    503
    Likes Received:
    4
    Trophy Points:
    168
    Update.
    i found innodb_buffer_pool_size=124780544 as the last line in the /etc/my.cnf file and #skip-innodb was commented out.

    I remember we had an issue with a corrupt DB some time back and we do not want innodb active on the server.

    Do you know of a way to prevent innodb from starting or mysql trying to use innodb on this server?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page