/etc/my.cnf or /etc/mysql/my.cnf
[mysqld]
socket = /var/run/mysqld/mysqld.sock
[client]
socket = /var/run/mysqld/mysqld.sock
Gordon Smith <[EMAIL PROTECTED]> said:
> Hi all,
>
> I'm sure I'm missing something obvious.
>
> Can anyone tell me where mgd_connect() gets the location of the socket
> (mysql.sock)?
> I've set php.ini to point to the correct location on RedHat
> (/var/lib/mysql/mysql.sock) and recompiled midgard-lib, mod-midgard, and
> php. Yet the Apache error logs report that midgard-lib mgd_connect can't
> connect through /tmp/mysql.sock.
>
> Cheers,
>
> Gordon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Technical Director
Linux Center (HK) Ltd.
www.hklc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]