Author Topic: Manually Updating MariaDB (from 10.2)  (Read 2378 times)

0 Members and 1 Guest are viewing this topic.

Manually Updating MariaDB (from 10.2)
« on: September 04, 2022, 12:03:27 PM »

I am on Centos 7

When I ran "yum update", MariaDB and its components failed to update (got a 404 error from its repo) so I went in /etc/yum.repo and changed MariaDB repo link from


to this new:

(just changed 10.2 to 10.3), then I did "yum clean all" and then ran "yum update"

many packages got updated but the main one still didn't. Tried it even after whole server reboot but got this error:

  MariaDB-server.x86_64 0:10.2.41-1.el7.centos   

Error in PREIN scriptlet in rpm package MariaDB-server-10.3.36-1.el7.centos.x86_                                                                                                             64

It says I need to manually remove 10.2 and then install 10.3

I can't risk the clients website on this server. How can I safely (step by step) update MariaDB manually? (also which version should I do it to, 10.6?)

(Screenshot of 'yum update')

Re: Manually Updating MariaDB (from 10.2)
« Reply #1 on: September 04, 2022, 12:09:12 PM »
For anyone else facing the same issue, I followed this step by step:

and It worked. So far, no issues :)

Now I am wondering, should I update to 10.6? Any suggestions?

My main reason for updating was, I was getting too many 524 errors on website of client. Not sure if this will help but worth a try

Re: Manually Updating MariaDB (from 10.2)
« Reply #2 on: September 06, 2022, 08:31:26 AM »
yes its stable to upgrade it.