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:
5cc2096f93 (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
So changing the required package to match the needs of the scripts
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)
This commit is contained in:
parent
6279ba9cd7
commit
e5b5fcdcf7
@ -158,7 +158,7 @@
|
||||
|
||||
Name: mariadb
|
||||
Version: 10.5.8
|
||||
Release: 5%{?with_debug:.debug}%{?dist}
|
||||
Release: 6%{?with_debug:.debug}%{?dist}
|
||||
Epoch: 3
|
||||
|
||||
Summary: A very fast and robust SQL database server
|
||||
@ -626,7 +626,7 @@ Provides: mysql-perl = %{sameevr}
|
||||
%endif
|
||||
Conflicts: community-mysql-server
|
||||
# mysqlhotcopy needs DBI/DBD support
|
||||
Requires: perl(DBI) perl(DBD::mysql)
|
||||
Requires: perl(DBI) perl(DBD::MariaDB)
|
||||
|
||||
%description server-utils
|
||||
This package contains all non-essential server utilities and scripts for
|
||||
@ -1662,6 +1662,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-6
|
||||
- Fix Perl database driver dependency
|
||||
|
||||
* Wed Feb 10 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-5
|
||||
- Add support for S3 storage engine
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user