Bug 1929106 - Revert upstream switch to Perl DBD::MariaDB driver from DBD::mysql driver
Summary: Revert upstream switch to Perl DBD::MariaDB driver from DBD::mysql driver
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: mariadb
Version: rh-mariadb105
Hardware: All
OS: Unspecified
unspecified
high
Target Milestone: alpha
: 3.7
Assignee: Michal Schorm
QA Contact: Jakub Heger
URL:
Whiteboard:
Depends On: 1929104
Blocks: 1941431
TreeView+ depends on / blocked
 
Reported: 2021-02-16 08:38 UTC by Michal Schorm
Modified: 2021-06-03 11:15 UTC (History)
5 users (show)

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
Clone Of: 1929104
Environment:
Last Closed: 2021-06-03 11:15:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.