Introduction In order to ensure that your desired version of MySQL is installed right from the beginning, it is possible to preconfigure a cPanel installation. By following a simple procedure, you can specify the MySQL version you want during the installation process.
Procedure If you are setting up a new server without cPanel installed, perform the following steps:
- Create a directory named “cpanel_profile” in the root directory:
- Create a file named “cpanel.config” inside the “cpanel_profile” directory:
- Open the “cpanel.config” file and add one of the example configurations provided below to specify your desired MySQL or MariaDB version. Afterward, proceed with running the installer as you normally would.
Current Versions MySQL 8:
(Note: Unavailable on AlmaLinux 8, CloudLinux 8, and CentOS 8)
(Note: Unavailable on CentOS 8)
EOL Versions – Should Not be Used In Production The following versions are provided as examples only and should not be used in production environments. Attempting to use these versions may cause the cPanel installation to fail, requiring you to reinstall the operating system from scratch.
By following these steps, you can ensure that your cPanel installation includes your desired MySQL version, enhancing the overall functionality and compatibility of your server.
739 total views, 3 views today