Fading Coder

An Old Coder’s Final Dance

Fixing Zabbix [Z3001] MySQL Socket Errors on Linux

When Zabbix server starts and reports Z3001 with "Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’", it typically means Zabbix is pointing too a socket path that does not exist or differs from the one MySQL/MariaDB actually created. Symptom Example log excerpt...