Last modified: April 16, 2024
Overview
This document provides the supported MySQL® and MariaDB® versions for each operating system that cPanel & WHM supports.
If you do not customize your installation, cPanel & WHM installs MySQL 8.0 by default.
MySQL supported versions
While your existing systems may use MySQL 5.7, you cannot select this version for a new installation. You also cannot modify your MySQL version to use 5.7. For more information, read our cPanel Deprecation Plan.
The following table shows the MySQL database versions available for your operating system:
Operating system | OS version number | Available relational database version number |
---|---|---|
AlmaLinux OS | 8 | 8.0 |
CentOS | 7 | 5.6 , 5.7 , 8.0 |
CloudLinux™ | 6 | 5.6 , 5.7 , 8.0 |
CloudLinux | 7 | 5.6 , 5.7 , 8.0 |
CloudLinux | 8 | 8.0 |
Red Hat® Enterprise Linux® | 7 | 5.6 , 5.7 , 8.0 |
Rocky Linux™ | 8 | 8.0 |
Ubuntu® | 20 | 8.0 |
Ubuntu | 22 | 8.0 |
MariaDB supported versions
While your existing systems may use MariaDB 10.0, 10.1, or 10.2, you cannot select any of these versions for a new installation. For more information, read our cPanel Deprecation Plan.
The following table shows the MariaDB database versions available for your operating system:
Operating system | OS version number | Available relational database version number |
---|---|---|
AlmaLinux OS | 8 | 10.3 , 10.5 , 10.6 |
CentOS | 7 | 10.3 , 10.5 , 10.6 |
CloudLinux | 6 | 10.3 , 10.5 , 10.6 |
CloudLinux | 7 | 10.3 , 10.5 , 10.6 |
CloudLinux | 8 | 10.3 , 10.5 , 10.6 |
Red Hat Enterprise Linux | 7 | 10.3 , 10.5 , 10.6 |
Rocky Linux | 8 | 10.3 , 10.5 , 10.6 |
Ubuntu | 20 | 10.5 , 10.6 |
Ubuntu | 22 | 10.5 , 10.6 |