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
So, you want to connect to a socket, try: mysql://user:pass@unix(/path/to/socket)/database
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?