Bug 1929104

Summary: Revert upstream switch to Perl DBD::MariaDB driver from DBD::mysql driver
Product: Red Hat Enterprise Linux 8 Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: databases-maint, hhorak
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Fix of a bug in a product before release. No need to notify users
Story Points: ---
Clone Of:
: 1929106 (view as bug list) Environment:
Last Closed: 2021-05-18 15:55:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1929348    
Bug Blocks: 1929106    

Description Michal Schorm 2021-02-16 08:23:13 UTC
MariaDB switched to using "DBD::MariaDB" Perl database driver instead of the "DBD::mysql" in MariaDB 10.5.0 version
    
Upstream issue:
  https://jira.mariadb.org/browse/MDEV-19755
    
Upstream commit:
  https://github.com/MariaDB/server/commit/5cc2096f93b7f130b36f8bc0fc43440db9a848e4#diff-8576e5effae0770fc984e35e6749c43a8946489a1b478ce54facb3b9086622bf
    
Scripts that rely on a specific driver won't work with differently named driver
Following scripts are affected:
  mysql_convert_table_format.sh
  mysql_setpermission.sh
  mysqlhotcopy.sh
  mytop.sh
as well as several tests for various components
    
The package perl-DBD-MariaDB is not present in RHEL8, so we must revert this upstream change
   
Testing:
Following command:
  mysql_setpermission --user=root --host=127.0.0.1 --port=3306
Would fail with:
  install_driver(MariaDB) failed: Can't locate DBD/MariaDB.pm in @INC (you may need to install the DBD::MariaDB module)

Comment 8 errata-xmlrpc 2021-05-18 15:55:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new module: mariadb:10.5), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1893