cPanel and Almalinux, can't install mariadb

elmister

Active Member
Mar 2, 2004
42
2
158
According this page cPanel & WHM version 92 for CentOS 8 | cPanel & WHM Documentation

cPanel for Centos 8 (and i understand Almalinux should be the same) supports MariaDB 10.3 and system administrators have the ability to select the default database between MySQL 8 and MariaDB 10.3 only.

But during the installation i've never been asked about it, and once installed, the MySQL/mariadb upgrade option doesn't give the option to install mariadb, only mysql 8.0 is available.

Is mariadb supported by cPanel for Centos 8/Almalinux?

Is yes, how should i proceed to change mysql 8 to mariadb?

Thank you
 
Last edited by a moderator:

elmister

Active Member
Mar 2, 2004
42
2
158
BTW: I see that some pages say cPanel for Centos 8 is experimental, those pages are about version 92, but that's not in the installation page. Is currently experimental ? Or can we use it in production?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,394
179
193
Finland
cPanel Access Level
Root Administrator
According this page cPanel & WHM version 92 for CentOS 8 | cPanel & WHM Documentation

cPanel for Centos 8 (and i understand Almalinux should be the same) supports MariaDB 10.3 and system administrators have the ability to select the default database between MySQL 8 and MariaDB 10.3 only.

But during the installation i've never been asked about it, and once installed, the MySQL/mariadb upgrade option doesn't give the option to install mariadb, only mysql 8.0 is available.
Before you install cPanel create file /root/cpanel_profile/cpanel.config, and in that write line:
mysql-version=10.3

 
  • Like
Reactions: cPRex

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,028
313
cPanel Access Level
Root Administrator
The details that @quietFinn provided will let you specify the version of MySQL or MariaDB that gets installed on the machine, but that work needs to happen before the installation process starts.

CentOS 8 is no longer experimental, although you may want to review some of the drama surrounding that version of the operating system before you commit to it, as it is only supported through December of this year.
 

elmister

Active Member
Mar 2, 2004
42
2
158
CentOS 8 is no longer experimental, although you may want to review some of the drama surrounding that version of the operating system before you commit to it, as it is only supported through December of this year.
But this is solved with Almalinux, isn't it? I converted it to Almalinux before installing cpanel
 

CoolMike

Well-Known Member
Sep 6, 2001
313
0
316