6

install zabbix at Configure DB connection error The frontend does not match Zabbix database. i use mysql What is the meaning of this?

john.L
  • 73
  • 1
  • 1
  • 5

4 Answers4

6

This means that the version of the Zabbix database does not match what Zabbix frontend is expecting. For instance, if you are upgrading from Zabbix 2.2 to Zabbix 3.0, then you will get a similar message (together with the current database version and the expected database version) until you upgrade the database (this is done by simply running the new version of Zabbix server).

In this particular case, if you are installing for the first time, then you probably have not imported schema.sql, images.sql, and data.sql files yet. In that case, please consult "Installation from sources" and "Database creation scripts" sections in the online Zabbix documentation.

asaveljevs
  • 2,220
  • 1
  • 16
  • 13
2

In case you have been using Ubuntu 14.04 and trying to do a new install of Zabbix 3.0 then you should first populate the database with the sql file provided in /usr/share/doc/zabbix-server-mysql/create.sql. After that it should work.

Nitin Srivastava
  • 480
  • 1
  • 7
  • 19
0

installation error: frontend does not match Zabbix database

read more here:

drop existing zabbix db

then

shell> mysql -u<username> -p<password>
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> quit;
shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql
# stop here if you are creating database for Zabbix proxy
shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql
shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql

after that step 3 is ok...

Haim Cohen
  • 281
  • 3
  • 5
0

I was upgrading a debian distro from 7 to 8 that had Zabbix installed. When this error appeared, what I did was to install the zabbix-server-mysql service by typing:

apt-get install zabbix-server-mysql

And that solved the problem.

robe007
  • 3,523
  • 4
  • 33
  • 59