Zabbix创建mysql数据库表和数据时出错
我在创建Zabbix数据库时出错:Zabbix创建mysql数据库表和数据时出错,mysql,Mysql,我在创建Zabbix数据库时出错: $ zcat create.sql.gz | mysql -u zabbix -p zabbixdb ERROR 1118 (42000) at line 1278: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. 如何
$ zcat create.sql.gz | mysql -u zabbix -p zabbixdb
ERROR 1118 (42000) at line 1278: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
如何解决此问题?只需登录mysql安装实例并运行以下操作:
SET GLOBAL innodb_strict_mode = 0;