How to Customize the version of MySQL database in cPanel

In this article, you will find the procedure of Customizing the version of the MySQL database, when installing cPanel for the first time.

It is possible to preconfigure a cPanel installation so that your desired version of MySQL is installed from the start.

Let’s follow the Procedure to Customize the version of the MySQL database:

On the server with no cPanel installed, create the following file:

/root/cpanel_profile/cpanel.config

To install with MySQL 5.6 populate the file with the following:

mysql-version=5.6
MySQL 5.7:
mysql-version=5.7

Then run the cPanel installer as you would normally.

In this way, the version of the MySQL database is customized when you are installing the cPanel for the first time.

We hope this has helped you. If you have any queries please feel free to contact our customer support team anytime. We are always there to help you out. You can check our website for the latest web hosting plans.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Edit the Hosts File in Windows, macOS, and Linux

In this guide, you will discover how to easily edit the host file across Windows,…

The 5 Most Popular Domain Name Extensions (2025)

This knowledge base article explores the most popular domain extensions and what makes each unique.…

Advantages of Netfilter / IPtables

Netfilter/IPtables is a powerful open-source framework for packet filtering and network address translation (NAT). It…