Ad Widget

Collapse

Getting a Mysql Error with zabbix_suckerd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tommy13v
    Junior Member
    • Jan 2005
    • 7

    #1

    Getting a Mysql Error with zabbix_suckerd

    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
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    See http://www.zabbix.com/manual_config_files.php

    Parameter DBSocket in zabbix_suckerd.conf is used for local connections only.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • tommy13v
      Junior Member
      • Jan 2005
      • 7

      #3
      Sorry

      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.

      Comment

      Working...