Control Web Panel

WebPanel => MySQL => Topic started by: audept on June 17, 2026, 05:31:03 PM

Title: New Development Alma 9 server not able to cleanly upgrade maria database 11.6
Post by: audept on June 17, 2026, 05:31:03 PM
After new Alma 9 install attempted to upgrade maria to 11.8,

Have gone through the documentation and iterations attempting to cleanly clear this issue.

By placing this line in the /etc/dnf/dnf.conf file I was able to update all the other cwp packages:
exclude=mysql* perl-DBD-MySQL*

Obviously at some point I want to update cleanly (including mysql stuff)

The error:

-----------------------------------------------------
[root@zelinux26 my.cnf.d]# dnf update -y

Error:
 Problem: cannot install both MariaDB-common-11.8.6-1.el9.x86_64 from mariadb and MariaDB-common-11.8.8-1.el9.x86_64 from @System
  - cannot install the best update candidate for package mysql-common-8.0.46-1.el9_8.x86_64
  - cannot install the best update candidate for package MariaDB-common-11.8.8-1.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
------------------------------------------------------

The cwp7pro display instance is operating fine showing version 15.2

What can I do to resolve this dnf update issue..?..

Any help appreciated.
Title: Re: New Development Alma 9 server not able to cleanly upgrade maria database 11.6
Post by: Starburst on June 17, 2026, 09:19:14 PM
I thought I had a KB published for everyone.

Just created one, hope it helps.

https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-mariadb-errors-when-trying-to-upgrade-on-cwp-and-almalinux-9/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-mariadb-errors-when-trying-to-upgrade-on-cwp-and-almalinux-9/)
Title: Re: New Development Alma 9 server not able to cleanly upgrade maria database 11.6
Post by: audept on June 18, 2026, 03:31:45 AM
Informational:

The offender here was the package perl-DBD-MySQL

Command:
dnf remove perl-DBD-MySQL

Was followed by:

dnf install  perl-DBD-MySQL

And voila dnf updates and upgrades are now without errors for version 11.8 I hope.

Cpanel-50477 is the case for reference.

Go figure,

Now how to get php-fpm working with the selector