Answer the question
In order to leave comments, you need to log in
How to connect to the database correctly when installing the Zabbix frontend?
I install Zabbix Server on a virtual machine with Debian 10 according to the instructions, I have reached the frontend setup stage.
I go from the main OS to the zabbix server using the IP of the virtual machine, go through the configuration steps, and at the step of connecting to the database, the following problem arises:
In zabbix_server.conf, the parameters related to the database are as follows:
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=password
Answer the question
In order to leave comments, you need to log in
Is the database created in mysql itself? And then connection by connection, but if there is no database itself and the user has rights to it, zabbix will swear.
1 make sure mysql is listening on port 3306 and check that it is listening on 127.0.0.1 for sure (maybe it only listens on a different address)
2 is there a firewall? configured ?
3 selinux is probably disabled in debian, but still check with the sestatus command if disabled then everything is ok
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question