Re: PHP looking for /tmp/mysql.sock when I compile it to use /usr/local/Servers/MySQL/var/socket
| From: | mjpelletier at mjpelletier dot com | Date: | Tue, 11 Nov 2003 07:49:07 +0000 |
| Subject: | Re: PHP looking for /tmp/mysql.sock when I compile it to use /usr/local/Servers/MySQL/var/socket | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12233@lists.php.net to get a copy of this message | ||
Figured it out...nevermind ;-)
Quoting "Michael J. Pelletier" <mjpelletier@mjpelletier.com>:
> Sunflower
> Hello,
>
> Does anyone know how to change PHP from insissting that the mysql socket be
> in /tmp.
>
> In other words I set --with-mysql-sock=/usr/local/Servers/MySQL/var/socket
>
> but, I get an error message:
> Nov 10 21:24:39 HORDE [emergency] [imp] DB Error: connect failed:
> [nativecode=Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (13)] ** Array [on line 108 of
> "/usr/local/HTTPS/horde/lib/Prefs/sql.php"]
>
>
> How do I tell PHP where to look for the mysql socket????
>
> Michael
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.