Ad Widget

Collapse

Can't connect to local MySQL server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • art_
    Junior Member
    • Sep 2014
    • 5

    #1

    Can't connect to local MySQL server

    Hi,
    I have searched in the web and here, but couldn't find a correct answer ;/
    I'm unable to start my zabbix server. I'm using zabbix appliance (3.2), was working fine, but after some time in the GUI there was a message, that zabbix server is not running.
    In the /var/log/zabbix/zabbix_server.log I can this:
    Code:
    1043:20170627:145711.077 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    mysql service return this:
    Code:
    mysql start/running, process 2694
    I have tried to kill stop mysql, then start it again and then zabbix instance, but I couldn't. Can anyone help me with this ?
  • art_
    Junior Member
    • Sep 2014
    • 5

    #2
    Ok, I have resolved this. In my case, I have found that the problem was with cache memory (running out). I have resize it from default (8M) to 64M and now it is OK.

    Comment

    • izn0g00d
      Junior Member
      • Mar 2015
      • 16

      #3
      post

      post zabbix-server status

      Comment

      Working...