Change location of mysql.sock

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

Change location of mysql.sock

Post by bob_the_web » Mon Oct 19, 2009 1:13 pm

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 » Mon Oct 19, 2009 6:07 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests