1. Connect the server via ssh
2. Create a back up all the databases with the following command
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin --all-databases --routines --triggers > /tmp/all-databases.sql
3. Create a databases directory in a separate folder
# cp -a /var/lib/mysql/ /var/lib/mysql_backup
4. Configure the repository by modifying the /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
5. Run yum update to update the MariaDB packages
6. Remove the old Mariadb package without dependencies
# rpm -e --nodeps MariaDB-server-10.0.35-1.el7.centos.x86_64
7. Install MariaDB-server package v.10.1
# yum install MariaDB-server
8. Start the MariaDB service
#service mariadb start
9. Upgrade MySQL databases
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql_upgrade -uadmin
10. Restart MySQL service
# service mariadb restart
11. Update the package version by running
# plesk sbin packagemng -sdf
12. Remove the mysql init script and reload the systemctl daemon
# rm /etc/init.d/mysql
# systemctl daemon-reload
13. Check the mariadb status
#service mariadb status