- 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:
5. Once the script is fully executed, you can check the version in the command line:
- Login to the server as root.
- 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 - Execute the script using the following command:
# ./c7-mariadb-10.5-upgrade.sh
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