Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1955704

Summary: Fix MariaDB 10.5 Conflicts with MySQL package
Product: Red Hat Enterprise Linux 9 Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: databases-maint, hhorak, ljavorsk
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mariadb-10.5.10-2.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:55:02 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: 1959855    
Bug Blocks:    

Description Michal Schorm 2021-04-30 17:04:35 UTC
Originally, the "mariadb" package in Fedora conflicts with MySQL package which is named "community-mysql" in Fedora, but is names just "mysql" in RHEL.

We need to fix the RPM "Conflicts" tags to apply in RHEL.

Something simmilar as this could be an elegant solution which would work for both upstream and downstream:
https://gitlab.com/redhat/centos-stream/rpms/mariadb-connector-c/-/commit/38d723b49603036d797e313e6278761c7ac45dbb

Comment 1 Michal Schorm 2021-04-30 17:07:32 UTC
Undeclared file conflicts:
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/bin/mysqldumpslow which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/bin/perror which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/mysql_upgrade.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/mysqldumpslow.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/perror.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64

Comment 2 Michal Schorm 2021-05-02 13:21:03 UTC
Fixed in the following Fedora upstream commit:
  https://src.fedoraproject.org/rpms/mariadb/c/939918b1e0d99f5d7ef4aebe8ce7321d740c6b58?branch=rawhide