Wondering if someone can assist w/ this problem. Background: Current instance of zabbix 2.4 w/ mysql db. Installed new instance of zabbix 5.0 w/ mariadb on debian 9. New install is working fine but I want to take the data from the 2.4 instance and load it into the 5.0 instance so I tried the following.
1 Tested mysql dump & restore basic process using the essentially empty new 5.0 install zabbix db. These were the steps I folllowed: a - stop zabbix server & agent on 5.0 system. b - used mysqldump to dump the 5.0 zabbix db to a file, dropped the zabbix database, then recreated and then usedmysql to restore the 5.0 data as a test. c - restarted zabbix server & agent. d - tested zabbix 5.0. As far as I could tell, there are no issues.
2 - Tried the same procedure using the 2.4 data imported into the 5.0 instance. a - dump 2.4 zabbix db to file, transfer to zabbix 5.0 server, b - stopped zabbix server/agent, c - imported zabbix 2.4 dump file.
At this point the import reported an error:
ERROR 1118 (42000) at line 1750: 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.
Google of this error yields a number of discussions on the work around or fix for this; all of them are fairly technical for a non-DBA. Some examples:
https://stackoverflow.com/questions/...to-te/33655143
https://community.centminmod.com/thr...ge-8126.16129/
A common suggestion is to set innodb_strict_mode = 0 but other people indicate this is not safe. Also it seems like to set this I need to re-create the mysql instance completely, not simply restart the process. Again, I'm not a DBA so these details are sort of beyond me. I'm wondering if anyone in the zabbix community have encountered this error and has simple suggestions to fix.
Thanks,
1 Tested mysql dump & restore basic process using the essentially empty new 5.0 install zabbix db. These were the steps I folllowed: a - stop zabbix server & agent on 5.0 system. b - used mysqldump to dump the 5.0 zabbix db to a file, dropped the zabbix database, then recreated and then usedmysql to restore the 5.0 data as a test. c - restarted zabbix server & agent. d - tested zabbix 5.0. As far as I could tell, there are no issues.
2 - Tried the same procedure using the 2.4 data imported into the 5.0 instance. a - dump 2.4 zabbix db to file, transfer to zabbix 5.0 server, b - stopped zabbix server/agent, c - imported zabbix 2.4 dump file.
At this point the import reported an error:
ERROR 1118 (42000) at line 1750: 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.
Google of this error yields a number of discussions on the work around or fix for this; all of them are fairly technical for a non-DBA. Some examples:
https://stackoverflow.com/questions/...to-te/33655143
https://community.centminmod.com/thr...ge-8126.16129/
A common suggestion is to set innodb_strict_mode = 0 but other people indicate this is not safe. Also it seems like to set this I need to re-create the mysql instance completely, not simply restart the process. Again, I'm not a DBA so these details are sort of beyond me. I'm wondering if anyone in the zabbix community have encountered this error and has simple suggestions to fix.
Thanks,
Comment