• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved MariaDB 5.5 Upgrade possible on active server?

speedbird

Basic Pleskian
I read a few MariaDB 5.5 to 10 upgrade posts here but I'm not quite sure if I understood it correctly...

Are you guys telling me, there is no way to upgrade from 5.5 to 10 when Plesk is already installed? I need to upgrade it to the latest version because I need MySQL 5.6 compatibility but I can't simply delete Plesk since the server is in use.

Is there really no way to upgrade? Also why is there MariaDB in the first place? With default MySQL I could simply do the upgrade from 5.5 to 5.6 without a problem.

Any solutions? Not being able to update the database software is a serious problem!

Thanks guys!
 
Hi speedbird
no it won't break anything in my experience.
On Ubuntu (going from MySQL 5.5 to MariaDB x.x) you get a dpkg error, but that's solved with 3 commands.
What OS are you using? And I'll post some instructions for you, though they have pretty good instructions at the above link too.
Regards

Lloyd
 
First create the file (I'll use vi)...

Code:
# vi /etc/yum.repos.d/MariaDB-10.repo


Adding...
Code:
# MariaDB 10.0 CentOS repository list - created 2016-05-23 17:40 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

save the file, stop Watchdog monitoring of MySQL, and then stop the current mariadb process...

Code:
# service mariadb stop


And install the latest version...
Code:
#  yum install MariaDB-server MariaDB-client


I hope that helps
Regards

Lloyd
 
Last edited:
Back
Top