Question
What versions of MySQL and MariaDB are supported by cPanel?
Answer
Note: The default database server on new installations prior to cPanel version 122 is MySQL 8.0. In cPanel version 122 and later, the default SQL server is MariaDB 10.11.
cPanel currently supports the following versions of MySQL and MariaDB:
| Operating System | Available Versions |
|---|---|
| CentOS/CloudLinux 7 | 5.6, 5.7, 8.0 |
| AlmaLinux/CloudLinux 8 | 8.0, 8.4 |
| AlmaLinux/CloudLinux 9 | 8.0, 8.4 |
| AlmaLinux/CloudLinux 10 | 8.4 |
| Ubuntu 20.04 | 8.0 |
| Ubuntu 22.04 | 8.0, 8.4 |
| Ubuntu 24.04 | 8.0, 8.4 |
Note: While your existing systems may use MySQL 5.6 or 5.7, new installations of cPanel cannot. You also cannot modify your MySQL version to use 5.6 or 5.7.
| Operating System | Available Versions |
|---|---|
| CentOS/CloudLinux 7 | 10.3, 10.5, 10.6 |
| AlmaLinux/CloudLinux 8 | 10.3, 10.5, 10.6, 10.11, 11.4, 11.8 |
| AlmaLinux/CloudLinux 9 | 10.5, 10.6, 10.11, 11.4, 11.8 |
| AlmaLinux/CloudLinux 10 | 10.11, 11.4, 11.8 |
| Ubuntu 20.04 | 10.5, 10.6 |
| Ubuntu 22.04 | 10.6, 10.11, 11.4 |
| Ubuntu 24.04 | 10.6, 10.11, 11.4 , 11.8 |
Note: While existing installations of cPanel may continue to use MariaDB 10.0, 10.1, 10.2, or 10.3, new installations of cPanel cannot select these versions. You also cannot modify your server to use these MariaDB versions, as they are no longer provided by MariaDB.
Note: MariaDB 11.8 is only available on servers running cPanel 136 and beyond.
Additional Resources
How to customize the version of MySQL or MariaDB used when installing cPanel for the first time
Supported MySQL/MariaDB Versions | cPanel & WHM Documentation
MySQL/MariaDB Upgrade | cPanel & WHM Documentation
cPanel Deprecation Plan: Planned deprecations and removals | cPanel & WHM Documentation
Comments
0 comments
Article is closed for comments.