I just set up a new zabbix server and mysql database,on two different hosts.
I have copied the create.sql.gz file to db hosts,however ,when i run zcat on db hosts, there's an error:
I do create the zabbix database using utf8, I dropped the table and recreated it ,still don't work.
what can I do , what character set should I use?
I have copied the create.sql.gz file to db hosts,however ,when i run zcat on db hosts, there's an error:
[root@zabbix-db ~]# zcat /usr/local/create.sql.gz | mysql -uzabbix -p zabbix
Enter password:
ERROR 1366 (HY000) at line 2313: Incorrect string value: '\xE2\x80\x99s i...' for column 'description' at row 1
Enter password:
ERROR 1366 (HY000) at line 2313: Incorrect string value: '\xE2\x80\x99s i...' for column 'description' at row 1
create database zabbix character set utf8 collate utf8_bin;
what can I do , what character set should I use?
Comment