Answer the question
In order to leave comments, you need to log in
Connecting to MySQL Zabbix?
Good afternoon!
Setting up Zabbix. Reached the MySQL table connection. I enter:
Database host-localhost
Database name-zabbix
User-zabbix
Password-zabpassword
Error is displayed: The frontend does not match Zabbix database
I try to connect to the database via the console:
#mysql -uzabbix -p
Enter password:
Welcome to the MariaDB monitor.
In /etc/zabbix/zabbix_server.conf :
PidFile=/var/run/zabbix/zabbi_server.pid
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabpassword Watch
logs:# cat /var/log/zabbix/zabbix_server.log
8614 :20180331:114050.624 Starting Zabbix Server. Zabbix 3.4.7 (revision 77720).
8614:20180331:114050.624 ****** Enabled features ******
8614 :
20180331
:114050.624 SNMP monitoring:
YES 114050.625 VMware monitoring: YES
8614: 20,180,331: 114050.625 SMTP authentication: YES
8614: 20,180,331: 114050.625 Jabber notifications: YES
8614: 20,180,331: 114050.625 Ez Texting notifications: YES
8614: 20,180,331: 114050.625 ODBC: YES
8614: 20,180,331: 114050.625 SSH2 support: YES
8614:20180331:114050.625 IPv6 support: YES
8614:20180331:114050.625 TLS support: YES
8614:20180331:114050.625 ******************************
8614:20180331:114050.625 using configuration file: /etc/zabbix/zabbix_server .conf
8614:20180331:114050.632 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
8614:20180331:114050.632 database is down: reconnecting in 10 seconds
....
Answer the question
In order to leave comments, you need to log in
8614:20180331:114050.632 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
It says that no password is being used. Check zabbix-server config again...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question