Hello,

I have a simple question when connecting through mysql.  It seems that php
is trying to connect to /tmp/mysql.sock, but it's not in the /tmp directory.
It's in /var/lib/mysql/mysql.sock.  I can connect throught mysql through the command
line just fine, but php functions cannot.  It gives the error:
Warning:  MySQL Connection Failed: Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' (111)


What could be wrong?



__________________________________
www.edsamail.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to