Installing Mariadb in AlmaLinux 8 Server

lhr

Member
May 5, 2021
6
1
3
Colombo
cPanel Access Level
DataCenter Provider
Hi,


As per this, I can see a number of Mariadb versions are supported in AlmaLinux 8 server, however the servers get installed with MySQL 8.0 with no option to change the database server later.

Can someone please advise how I can mae Maridb as the database server in AlmaLinux 8 server.

Thanks!
 
Last edited by a moderator:

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
Hi,


As per this, I can see a number of Mariadb versions are supported in AlmaLinux 8 server, however the servers get installed with MySQL 8.0 with no option to change the database server later.

Can someone please advise how I can mae Maridb as the database server in AlmaLinux 8 server.

Thanks!
Have faced the same issue in past.
There is no way to install mariadb after installation.

You need to run this command before cpanel installation.

mkdir -p /root/cpanel_profile && echo "mysql-version=10.5" > /root/cpanel_profile/cpanel.config

After this, you can run cpanel installation command.
 
  • Like
Reactions: cPRex and lhr