connection to database 'zabbix' failed: [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)
3590384:20231008:142041.788 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)
3590384:20231008:142041.788 database is down: reconnecting in 10 seconds
3590384:20231008:142051.789 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)
3590384:20231008:142051.789 database is down: reconnecting in 10 seconds
解决方案:
检查了zabbix server /var/log/zabbix/zabbix_server.log
vim /etc/zabbix/zabbix_server.conf