/var/run/mysqld/mysqld.sock missing with jailed user

Discussion in 'Installation/Configuration' started by Sander de Jonge, Mar 18, 2017.

  1. Sander de Jonge

    Sander de Jonge New Member

    When I try to connect to mysql using a jailed ssh user I get the error
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
    The folder var/run/mysqld/ exists but there's nothing in it.
    Using ispconfig 3.1.2 and debian 8.

    Thanks in advance!
  2. Jesse Norell

    Jesse Norell Well-Known Member

    Use as the host, not 'localhost'.

Share This Page