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

0 Members and 1 Guest are viewing this topic.

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

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

old: https://yum.mariadb.org/10.2/centos7-amd64

to this new: https://yum.mariadb.org/10.3/centos7-amd64

(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:

Failed:
  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')




Offline
*
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: https://linuxglobe.com/centos/centos-7/upgrading-mariadb-10-2-to-10-3-on-centos-7.html

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

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