-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
3.4.8
-
Linux, MySQL 8.0.x
Build zabbix on top of MySQL 8.0.x fails.
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-3.4.8/build_mysql/src/libs/zbxdb' gcc -DHAVE_CONFIG_H -I. -I../../../../src/libs/zbxdb -I../../../include -I../../../../include -I/usr/include/mysql -m64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -c -o libzbxdb_a-db.o `test -f 'db.c' || echo '../../../../src/libs/zbxdb/'`db.c ../../../../src/libs/zbxdb/db.c: In function 'zbx_db_connect': ../../../../src/libs/zbxdb/db.c:285:2: error: unknown type name 'my_bool'; did you mean 'bool'? my_bool mysql_reconnect = 1; ^~~~~~~ bool make[3]: *** [Makefile:484: libzbxdb_a-db.o] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-3.4.8/build_mysql/src/libs/zbxdb' make[2]: *** [Makefile:525: all-recursive] Error 1 make[1]: *** [Makefile:497: all-recursive] Error 1 make: *** [Makefile:506: all-recursive] Error 1
Patch is in attachment and I think that it may be used wit MySQL 5.x as well.
- duplicates
-
ZBXNEXT-4569 "groups" (8.0.2) and "function" (8.0.1) are reserved words since MySQL 8.0
- Closed