RE: [PHP-DB] PHP Confused: Using wrong Unix Socket

2004-04-09 Thread Noah Davis
Thank you. I missed that setting obviously. The variable name is mysql.default_socket. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 11:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] PHP Confused: Using wrong Unix Socket On Friday 09

[PHP-DB] PHP Confused: Using wrong Unix Socket

2004-04-08 Thread Noah Davis
My PHP installation seems to be confused as to where to find the MySQL socket file. The error I'm getting is: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) This isn't where the mysql.sock file is. It's at /tmp/mysql.sock.

Re: [PHP-DB] PHP Confused: Using wrong Unix Socket

2004-04-08 Thread Jason Wong
On Friday 09 April 2004 02:38, Noah Davis wrote: How can I get PHP to not get confused about which .sock file to use? php.ini Do I need to recompile PHP? No. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet