Database server

Discussion in 'Installation/Configuration' started by beenfishing, Jun 21, 2012.

  1. beenfishing

    beenfishing New Member


    I have a multiserver setup on Debian 6, my websites all of a sudden cant connect to the db server.

    I tried to restart mysql on the db server and I get the following error.

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

    Please help

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have ou changed any settings in the my.cnf file or installed a Linux update which might have changed settings in that file? Do you get any error messages in the syslog?
  3. beenfishing

    beenfishing New Member

    Thanks for you super speedy response.

    I managed to find out how to fix it on the internet.

    I hadn't done an update or anything like that.

    To fix it i changed the socket path from /var/run/mysqld/mysqld.sock



    and now it's working.

    Is this ok to do?

Share This Page