Change location of mysql.sock

Forum for questions and support relating to the 1.24.x releases only.
Locked
bob_the_web
Posts: 1
Joined: Mon Oct 19, 2009 12:45 pm

Change location of mysql.sock

Post 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
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post 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
Image
Locked