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

Discussion in 'Installation/Configuration' started by Sander de Jonge, Mar 18, 2017 at 10:29 AM.

  1. Sander de Jonge

    Sander de Jonge New Member

    Hi,
    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 127.0.0.1 as the host, not 'localhost'.
     

Share This Page