--- a/contrib/dlz/drivers/dlz_mysql_driver.c +++ a/contrib/dlz/drivers/dlz_mysql_driver.c @@ -789,8 +789,11 @@ mysql_create(const char *dlzname, unsigned int argc, char *argv[], char *endp; int j; unsigned int flags = 0; +#if MYSQL_VERSION_ID >= 80000 + typedef bool my_bool; // Workaround to make library work with MySQL client 8.0 as well as earlier versions +#endif #if MYSQL_VERSION_ID >= 50000 - my_bool auto_reconnect = 1; + my_bool auto_reconnect = 1; #endif UNUSED(driverarg);