Page 1 of 1

Change location of mysql.sock

Posted: Mon Oct 19, 2009 1:13 pm
by bob_the_web
Hi,
I have an existing installtion of mysql and the socket is located in /tmp/mysql.sock.

However when I try to start ZM it is looking for /var/lib/mysql/mysql.sock (which is the default standard)

Where do I change this within the ZM configs?

Thanks

Posted: Mon Oct 19, 2009 6:07 pm
by monex
Hi,

this is not a zm related config option but rather a mysql config option. mysql reads out the my.cnf (located in /etc/) and the .my.cnf (located in personal home directory) to read out it's configurations. Changing in in some of this file should do it:

Code: Select all

[client]
socket          = /tmp/mysql.sock
Hope this helps