PDA

View Full Version : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Riscaa
07-05-2009, 03:39
Hello,

I get this error when trying to install. Zabbix is looking in the wrong place for the file on our system. It lives in /srv/mysql/

How can I edit zabbix to look at the /srv/ location rather then the default location /var/lib/mysql ?

thanks,
Alex

Riscaa
07-05-2009, 05:52
Found the answer. You need to edit /etc/zabbix_server.conf

Thought I'd answer incase someone else runs into the issue :D