N
N
Nabi Alimetov2015-07-08 15:22:36
MySQL
Nabi Alimetov, 2015-07-08 15:22:36

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.
e54762faee704ecb8b58468b448935ef.JPG

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2015-07-08
@alnabi

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

P
Puma Thailand, 2015-07-08
@opium

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 question

Ask a Question

731 491 924 answers to any question