Hi,
On Fri, 13 Jul 2001, Aditya Dhekney wrote:
> >> I don't know why it's trying to look for mysql.sock in
> >> /var/lib/mysql....it's located in /tmp/mysql.sock. How can I make it
> look
> >> in /tmp/ instead?
>
> >Through my.cnf. We simply take the default that the libmysqlclient
> >library provides, so you have to tell mysql itself to use that socket
> >file.
> umm...this is interesting...it seems i don't have a my.cnf...i have a
> my-huge.cnf, my-large.cnf,....my-small.cnf. In each of these, the socket
> directive is set to:
> socket = /tmp/mysql.sock
> and also, when i run phpinfo, for mysql socket i have:
> MYSQL_SOCKET: /tmp/mysql.sock
the my-huge, -large, ... are examples, choose one, copy it to /etc/my.cnf,
edit it to match your needs, and you're set.
--
'The joy of my life is in Zion - Lauryn Hill'
Armand A. Verstappen * <[EMAIL PROTECTED]> *
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]