How to Upgrade
Remove old MariaDB Repository
rm -rf /etc/yum.repos.d/mariadb.repo
Add New MariaDB Repository
vi /etc/yum.repos.d/mariadb.repo
Add
[mariadb]
name = MariaDB Server
baseurl = https://downloads.mariadb.com/MariaDB/mariadb-10.4/yum/rhel/$releasever/$basearch
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
enabled = 1
Remove old version
yum remove MariaDB-server galera -y
Install MariaDB
yum install MariaDB-server MariaDB-shared MariaDB-client MariaDB-common galera -y
Start MariaDB
systemctl start mariadb
Check MariaDB Status
systemctl status mariadb
Upgrade Mysql tables
mysql_upgrade
Login to MySQL shell
mysql