ERROR 1071 (42000) at line 142: Specifiedkey was too long; max key length is 767 bytes

[[email protected]]# cd /usr/share/doc/zabbix-server-mysql-3.0.1

[[email protected]]# zcat create.sql.gz | mysql -uroot zabbix -p

Warning: Using a password on the commandline interface can be insecure.

Enter password:

ERROR 1071 (42000) at line 142: Specifiedkey was too long; max key length is 767 bytes

[[email protected]]#


解决办法:

zabbix库字符集设置成latin1,搞定咯。

你可能感兴趣的:(ERROR 1071 (42000) at line 142: Specifiedkey was too long; max key length is 767 bytes)