Author Topic: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?  (Read 307 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,

My current CWP install has mariadb 10.5.27.

And I correct in thinking mariadb 10.5.x support has expired recently ?

Do the developers have any plans to update mariadb to 10.11 or possibly 11.x any time soon in an update preserving database contents ?

Or do the developers and or anyone in the community have a set of working instruction on how to update mariadb to 10.11 or possibly 11.x for Almalinux 9.5 that does not break the CWP install ?

Thanks.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #1 on: August 08, 2025, 09:39:34 AM »
MariaDB 10.11 is a LTS version

MariaDB after 11.4 changed some commands, and hasn't been tested with CWP yet.



Here's how to upgrade it manually.
Make sure to follow every step, or it will fail.

https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #2 on: August 08, 2025, 04:57:22 PM »
Here's a good matrix of support windows for MariaDB versions. I am running MariaDB 10.11 LTS across all my servers. (11.x branch will wait for another day...)
https://endoflife.date/mariadb

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #3 on: August 09, 2025, 02:02:36 AM »
Interesting how 11.8 LTS ends before 11.4 LTS does.

But that's also when they implemented their 'Enterprise' paid support.

What I noticed in testing 11.4, it was running in compatibility mode because of some of the commands coming from CWP to MariaDB.
I think I mentioned that in another thread long ago, that CWP will have to update the coding, but then could to be backwards compatible to prior MariaDB versions.

But they have until the end of Q2 2029 to figure that one out.

Offline
*
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #4 on: September 08, 2025, 04:16:10 PM »

I'm running AlmaLinux 9.5.x

Are mariadb 10.11.x LTS and 11.4.x LTS both suitable for CWP in production ?

And do the above upgrade instructions work for both versions of mariadb ?

If I installed a fresh copy of CWP which version of MariaDB would be installed by default today?

Thanks.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #5 on: September 08, 2025, 04:36:01 PM »
It's your choice to use either 10.11.x or 11.4.x -- both are LTS versions and both are suitable for use with CWP in a production setting. Here is a guide for updating EL7, EL8 or EL9 distributions to 10.11:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/
(I was using 10.11 on my servers up until recently when Starburst assured that 11.4 offers full compatibility with CWP and full backwards compatibility with previous versions SQL syntax.)

Offline
*
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #6 on: September 09, 2025, 12:41:16 PM »

Thanks for the mariadb upgrade instructions.

The first step is to remove the old version of the mariadb.

Before doing that surely the running websites on the cwp server need shutting down somehow etc... ? How can that be done easily ?

Or do you just follow the instructions step by step and remove mariadb with the website running ? That does not seem to be a safe way to proceed ?

Thanks.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #7 on: September 09, 2025, 01:05:46 PM »
Just FOLLOW that guide Step By Step, and do NOT deviate from it, and you will be fine.

Nothing else needs to be done.

If you start deviating from it, then all hell will break loose, and you will corrupt your server.

That being said, you should always make a snapshot/backup of your server BEFORE any upgrades.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #8 on: September 10, 2025, 12:57:49 AM »
And just to reassure you, Sandeep over at AlphaGNU is a CWP developer, so he is offering you good advice if you choose the 10.11.x upgrade. As he confirms at the beginning of his guide, you are simply removing the MariaDB server & client applications, not your DB info. So you should only be facing 2-5 min of total downtime with your sites as you execute the upgrade process.

Offline
*
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #9 on: September 10, 2025, 06:43:59 AM »
The web apps I'm running recommended mariadb 11.4 over 10.11 so I decided to go with 11.4.

I followed the instructions step by step and it installed fine - no observable errors so far.

All websites appear to be running normally but noticeably faster on the same hardware which is a bonus.

The only thing I have observed is that on the CWP dashboard the database is now reporting 15.2 and not 11.4. Whereas it was reporting 10.5.x before the upgrade. Do you observe the same thing on your servers ?

However the web apps correctly identify mariadb 11.4 and they appear to be working normally.

Thanks to everyone for your help.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #10 on: September 10, 2025, 08:16:26 AM »
That is correct, in MariaDB 11.x they changed the line to show the whole DB version.

To check from the CLI:
Code: [Select]
mariadb --version

Offline
*
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #11 on: September 10, 2025, 09:08:36 AM »
The output from mariadb --version is
mariadb from 11.4.8-MariaDB, client 15.2 for Linux (x86_64) using  EditLine wrapper

Therefore the CWP dashboard, bottom left is reporting the client version 15.2 and not the mariadb version 11.4.8

Is that a bug or is it by design ?

Thanks.

Offline
*****
Re: Mariadb 10.5.x Support has Expired - How to Upgrade Manually ?
« Reply #12 on: September 10, 2025, 10:52:35 AM »
Seems to be a bug or by design -- my servers (running 11.4.8) report 15.2 in the dashboard as well. (And yes, the MySQL nomenclature is deprecated as well -- in future versions it will always be referred to as mariadb -- all binaries and tools.)

 

</