MYSQL MariaDB Upgrade auf 10.x

/etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
gpgcheck=1

MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin --verbose --all-databases --routines --triggers > /tmp/all-databases.sql
service mariadb stop
   rpm -e --nodeps mariadb-bench
   yum install mariadb-bench
    rpm -e --nodeps mariadb-bench
   cp -v -a /var/lib/mysql/ /var/lib/mysql_backup
  rpm -q --whatprovides mysql-server
  yum install MariaDB-client MariaDB-server MariaDB-compat MariaDB-shared
  systemctl restart mariadb
  MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql_upgrade -uadmin
  systemctl restart mariadb
  plesk sbin packagemng -sdf
  systemctl stop mysql; killall mysqld
  rm /etc/init.d/mysql && systemctl daemon-reload
  systemctl start mariadb
  systemctl enable mariadb
  yum -y update mariadb-server mariadb
  mysql -V