Ad Widget

Collapse

Error Mysql Zabbix 1.8.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • carlos.costa
    Junior Member
    • May 2012
    • 4

    #1

    Error Mysql Zabbix 1.8.3

    When I access my Zabbix is occurring this message:

    mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)[/usr/share/zabbix/include/db.inc.php:58]

    Someone can help me for solve this problem!? Zabbix version is 1.8.5

    Thanks in advance.
  • ghoz
    Senior Member
    • May 2011
    • 204

    #2
    Your zabbix is trying to connect to mysql using Unix socket (DBSocket option) and either your database is simply not running or not accepting connections through unix sockets...

    make sure mysql is running,
    then check that the DBuser ,DBpassword DB host options are correct in zabbix_server.conf

    Comment

    • carlos.costa
      Junior Member
      • May 2012
      • 4

      #3
      I checked your observation, but MySQL not working after or before this change in zabbix-server.conf.

      In zabbix-server.conf its ok information. What I can do more!?

      Comment

      Working...