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:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
Loading...

Share This Page