PDA

View Full Version : Getting a Mysql Error with zabbix_suckerd


tommy13v
04-01-2005, 21:56
When I try to run zabbix_suckerd I get this error below.

Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

I am not running mysql in this location. It is pointing to another location.

When the zabbix_suckerd is compiled does it compile it to look for mysql in a certain directory?

My connection file for mysql my.cnf is configured properly and start with no issues but the zabbix_suckerd is looking in '/var/lib/mysql/mysql.sock'.

Thanks for your help.

Alexei
04-01-2005, 22:06
See http://www.zabbix.com/manual_config_files.php

Parameter DBSocket in zabbix_suckerd.conf is used for local connections only.

tommy13v
04-01-2005, 22:11
Sorry about that. I had looked in there but my terminal colors were yellow and didn't see that section.

I am an idiot

Thanks Again.