You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new mariadb-connector-c packages provide a common client library for MySQL and MariaDB. This library is usable with any version of the MySQL and MariaDB database servers. As a result, the user is able to connect one build of an application to any of the MySQL and MariaDB servers distributed with RHEL 8.
Include as many relevant details about the environment you experienced the problem in
Version used (icinga2 --version): 2.12.3-1.el8
Operating System and version: OL 8.3, RHEL 8.3, CentOS 8 stream
Enabled features (icinga2 feature list): n/a
Icinga Web 2 version and modules (System - About): n/a
Config validation (icinga2 daemon -C): n/a
If you run multiple Icinga 2 instances, the zones.conf file (or icinga2 object list --type Endpoint and icinga2 object list --type Zone) from all affected nodes.
Hey, I've checked this topic out today (likewise with Icinga/icinga2#7927 ), and agree with your examination of the problem.
Done some testing; we will have packages with mariadb-connector-c by Monday.
The newly released revisions, 2.11.10-2 and 2.12.5-2 are now being built against mariadb-connector-c, check them out if you'd like to.
I will go ahead and close this issue. Thanks for participating on Icinga!
Describe the bug
With RHEL 8 and derivates, icinga2 should be compiled against
mariadb-connector-c
instead ofmysql
due to a change of the default database.See Notable changes in MySQL 8.0 in https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.0_release_notes/rhel-8_0_0_release#web-servers-databases-dynamic-languages
To Reproduce
Expected behavior
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): 2.12.3-1.el8icinga2 feature list
): n/aicinga2 daemon -C
): n/azones.conf
file (oricinga2 object list --type Endpoint
andicinga2 object list --type Zone
) from all affected nodes.Additional context
Proposed patch for the spec file:
Notes regarding the patch:
%else\n%if
instead of%elif
because%elif
is supported only in rpm 4.15+%post
sections because otherwise the specfile gets invalid when disabling one of these databases.See also: Icinga/icinga2#7927
The text was updated successfully, but these errors were encountered: