Bug 1929106

Summary: Revert upstream switch to Perl DBD::MariaDB driver from DBD::mysql driver
Product: Red Hat Software Collections Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact: Jakub Heger <jheger>
Severity: high Docs Contact:
Priority: unspecified    
Version: rh-mariadb105CC: databases-maint, hhorak, jheger, lzachar, mmuzila
Target Milestone: alphaKeywords: TestCaseNeeded
Target Release: 3.7   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
We reverted an upstream commit in order to be technically able to build the package correctly. (we miss entirely the new package dependency that WOULD be introduced, if the upstream commit would remain in place) --- There is no change in functionality from user POV
Story Points: ---
Clone Of: 1929104 Environment:
Last Closed: 2021-06-03 11:15:45 UTC Type: ---
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: 1929104    
Bug Blocks: 1941431    

Description Michal Schorm 2021-02-16 08:38:28 UTC
+++ This bug was initially created as a clone of Bug #1929104 for RHEL-8 +++

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 6 errata-xmlrpc 2021-06-03 11:15:45 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 packages: rh-mariadb105), 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:2217