Yeah I thought so to. But I did a chmod 755 on the sock file and it didn't help.
Here's the test script I am using: (Presume that's what you meant by "connection string"? <?PHP if($Connection = mysql_connect('localhost', '******', '******')) print 'Success!'; else print 'Failure'; ?> -----Original Message----- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 9:44 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /usr/local/apache2/htdocs/dbtest.php on line 3 [/snip] Can we see your connection string? My bet would be permissions... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php