Fixing MYSQL_OPT_RECONNECT warning by choosing the right Perl DB driver (DBD::MariaDB vs DBD::mysql)

This discussion directly resolves the issue I reported in my thread:
Webmin MariaDB Module Still Requires DBD::mysql Even When DBD::MariaDB Is Installed (Rocky Linux 9.7 + MariaDB 10.11)

The latest fixes (“Add ability to use correct driver depending on the database”) correctly detect and prefer DBD::MariaDB on MariaDB systems and eliminate the need for DBD::mysql or CPAN installs when native packages are available.

This fully addresses the problem I was seeing on Rocky Linux 9.7 with MariaDB 10.11.

Thanks a lot to @Ilia, @Jamie, @Joe and the rest of the team for the quick and clean fix — much appreciated.

1 Like