2019/05/15 07:47:18 [...db-zabbix/log/log.go:299 Error()] [E] Error while executing script: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups grp on grp.groupid = hg.groupid
WHERE grp.internal=0
AND tre.clock > 1' at line 35
2019/05/15 07:47:18 [...db-zabbix/log/log.go:299 Error()] [E] Error while executing script: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups grp on grp.groupid = hg.groupid
WHERE grp.internal=0
AND his.clock > 1' at line 33
2019/05/15 07:47:18 [...db-zabbix/log/log.go:299 Error()] [E] Error while executing script: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups grp on grp.groupid = hg.groupid
WHERE grp.internal=0
AND his.clock > 1' at line 33
2019/05/15 07:47:18 [...db-zabbix/log/log.go:299 Error()] [E] Error while executing script: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups grp on grp.groupid = hg.groupid
WHERE grp.internal=0
AND tre.clock > 1' at line 35
This problem is only with zabbix > 4.0 due to mysql8 have "groups" word reserved.
Everything works after change 4 lines in input/mysql.go
I have trouble with this error:
This problem is only with zabbix > 4.0 due to mysql8 have "groups" word reserved. Everything works after change 4 lines in input/mysql.go