Roundcube Community Forum

 

Connecting to a Database with the Hostname: localhost:/tmp/mysql5.sock

Started by jb1998, October 28, 2015, 12:46:13 PM

Previous topic - Next topic

jb1998

Hi,

Trying to connect to a MySQL DB that has the host name "localhost:/tmp/mysql5.sock", it's not working... Any ideas?

Thanks :)
Jonathan


jb1998

Hi,

Tried both what you said with the "unix" and without.

Without the unix I got this error: DSN (write):  NOT OK(SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known)

With the unix I got this error: DSN (write):  NOT OK(SQLSTATE[HY000] [2002] No such file or directory)

Any ideas?