Question
How do I customize the MySQL or MariaDB version when installing cPanel?
Answer
- Access the server's command line as the
rootuser via SSH. -
Create the
/root/cpanel_profilefolder.# mkdir /root/cpanel_profile
-
Create the
/root/cpanel_profile/cpanel.configfile.# touch /root/cpanel_profile/cpanel.config
- Open
cpanel.configin your preferred text editor. -
Add a line to set
mysql-versionto the value of the desired version.CONFIG_TEXT: mysql-version=#.#
Note: Replace #.# with the version number. For example:
-
MySQL 8.4
CONFIG_TEXT: mysql-version=8.4
-
MariaDB 10.11
CONFIG_TEXT: mysql-version=10.11
-
Warning: Selecting an unsupported version for your operating system will cause cPanel to fail to install.
Review the supported database versions here:
Comments
0 comments
Article is closed for comments.