How To Install Mariadb On Cpanel Vps Dedicated Server Almalinux 8 / 9
MariaDB is an open-source fork of MySQL. It's fully compatible with MySQL and is often preferred due to performance improvements and active development. Since cPanel officially supports MariaDB, replacing MySQL with it is a safe and common upgrade.

yum update
cd /root
mkdir cpanel_profile
cd cpanel_profile
touch cpanel.config
vi cpanel.config
>> MySQL 8
mysql-version=8.0
>> MariaDB 10.6
mysql-version=10.6
>> MariaDB 10.5
mysql-version=10.5
>> MariaDB 10.6
mysql-version=10.6
>> MariaDB 10.11
mysql-version=10.11
cd /home
hostnamectl set-hostname server.codezfree.com
systemctl stop NetworkManager
systemctl disable NetworkManager
yum install perl
yum install curl
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest
service NetworkManager startÂ
chkconfig NetworkManager on
MariaDB is an open-source fork of MySQL. It's fully compatible with MySQL and is often preferred due to performance improvements and active development. Since cPanel officially supports MariaDB, replacing MySQL with it is a safe and common upgrade.
What's Your Reaction?






