Aditya Dhekney wrote:
>> Your selection: 2
>> Message: Reading config file install-repligard.conf
>> midgard-lib: mgd_connect to midgard@localhost://midgard failed: Can't
>> connect to
>> local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
>> ** CRITICAL **: Error in DB connection
>>
>> 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
Aditya
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]