It’s attainable to improve the MariaDB model from 5.x to 10.5 from the command line utilizing a easy script. In case you are attempting to do it on a dwell server, higher to take a snapshot of the server because the improve would possibly break the DB desk construction. The steps to do it on a Centos 7 server are supplied beneath:
- Login to the server as root.
- Obtain the script and make it executable:
# wget assist.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 utilizing the next command:
# ./c7-mariadb-10.5-upgrade.sh
4. It’ll take a while to finish the method.
5. As soon as the script is totally executed, you possibly can examine the model within the command line:
# mysql -V
mysql Ver 15.1 Distrib 10.5.15-MariaDB, for Linux (x86_64) utilizing readline 5.1