How to upgrade MariaDB from 5 to 10 on Plesk?

HostSailor

Member
Registered
Joined
May 16, 2014
Messages
20
Points
1
It is possible to upgrade the MariaDB version from 5.x to 10.5 from the command line using a simple script. If you are trying to do it on a live server, better to take a snapshot of the server as the upgrade might break the DB table structure. The steps to do it on a Centos 7 server are provided below:
  1. Login to the server as root.
  2. Download the script and make it executable:
    # wget support.plesk.com/hc/en-us/article_attachments/4584125667858/c7-mariadb-10.5-upgrade.sh && chmod +x c7-mariadb-10.5-upgrade.sh
  3. Execute the script using the following command:
    # ./c7-mariadb-10.5-upgrade.sh
4. It will take some time to complete the process.



5. Once the script is fully executed, you can check the version in the command line:
# mysql -V
mysql Ver 15.1 Distrib 10.5.15-MariaDB, for Linux (x86_64) using readline 5.1
 
Older Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top