shell> mysql -uroot -p<root_password> mysql> create database zabbix character set utf8 collate utf8_bin; mysql> grant all privileges on zabbix.* to zabbix@localhost identified by '<password>'; mysql> quit;
cd /usr/share/zabbix-server-mysql/ zcat scheme.sql.gz | mysql -uzabbix -pppassword zabbix zcat images.sql.gz | mysql -uzabbix -pppassword zabbix zcat data.sql.gz | mysql -uzabbix -pppassword zabbix