I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine.

When I try and connect from php using mysql_connect() I get the following error:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

The server is up and running and I can connect fine using the command line client.

Do I need some special configuration?

Any advice appriciated!

Jean-Christian Imbeault


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to