Answer the question
In order to leave comments, you need to log in
How to connect to MySQL from Zabbix?
Good afternoon!
I am setting up Zabbix 2.4 on Ubuntu 14. I got to the place where I need to connect to the MySQL DBMS. Previously created a zabbix database through phpMyAdmin. When checking, an error occurs: The frontend does not match Zabbix database.
Screenshot attached.
Answer the question
In order to leave comments, you need to log in
It looks like the database has been created, but not filled according to the scheme. It is necessary to unpack and execute the schema.sql, images.sql and data.sql scripts from the /usr/share/zabbix-server-mysql folder in mysql
# cd /usr/share/zabbix-server-mysql/
# gunzip < schema.sql.gz | mysql -uroot -p zabbix
# gunzip < images.sql.gz | mysql -uroot -p zabbix
# gunzip < data.sql.gz | mysql -uroot -p zabbix
read the doc about installing zabbix
, it says in detail what needs to be uploaded to the database
and make a separate user for this database and do not connect as root, for this you need to beat on the fingers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question