Evolve Help Center
Evolve Web Hosting Homepage Evolve Web Hosting Portal Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Published on: 03/03/2023 | Updated on: 03/27/2023 | Reading Time: 5 minutes

cPanel MySQL Databases

Create a New Database

Difficulty Level: Easy

  1. Login to your cPanel Account

  2. Locate the Databases section and click on MySQL® Databases shown below

cPanel Databases Section
cPanel Databases Section
  1. The screenshot shown below is what you will see after clicking MySQL® Databases from step 2 above
cPanel MySQL Databases Screenshot
cPanel MySQL Databases Screenshot
  1. Create a Database Name First

  2. Create a Database User and Password. We strongly suggest using the Password Generator. Do NOT create a weak password.

  3. Scroll to the bottom and add the user to the database.

  4. You’ll see the following screen and you’ll choose All Privileges in most cases. Refer to the Software vendor you are working with to confirm.

cPanel MySQL Database User Privileges Screenshot
cPanel MySQL Database User Privileges Screenshot

Make sure you read the sections below about creating and adding your Database User to your Database

If you need any assistance, please submit a ticket for Technical Support


Create a Database Username

Difficulty Level: Easy

  1. Login to your cPanel account.

  2. Locate the Databases section and click on MySQL® Databases

cPanel Databases Section
cPanel Databases Section
  1. On the MySQL® Databases page, scroll down until you see the Add New User section (shown below).
Add a new MySQL User Screenshot
Add a new MySQL User Screenshot
  1. Give your new User a name and create a Strong password. Once finished, click Create User

  2. The new User will appear near the bottom of the page under the Current Users section and you can Add that User to a Database.

If you need any assistance, please submit a ticket for Technical Support


Add a User to a Database

Difficulty Level: Easy

You will only see this section if you have atleast 1 Database and 1 Database User created

  1. Login to your cPanel account.

  2. Locate the Databases section and click on MySQL® Databases

cPanel Databases Section
cPanel Databases Section
  1. Scroll down to the section that says Add User to Database
Add a new MySQL User to a Database Screenshot
Add a new MySQL User to a Database Screenshot
  1. Choose the Database and Username you are working with and click Add

  2. You’ll see the following screen and you’ll choose All Privileges in most cases. Refer to the Software vendor you are working with to confirm.

cPanel MySQL Database User Privileges Screenshot
cPanel MySQL Database User Privileges Screenshot

If you need any assistance, please submit a ticket for Technical Support


Change Database Username Password

Difficulty Level: Easy to Medium

It’s important to periodically change the password for your Database Username to maintain strong security.

After you change this password, make sure you update any config file(s) for your website that depend on this password. Otherwise, your website will stop working.

  1. Login to your cPanel account.

  2. Locate the Databases section and click on MySQL® Databases

cPanel Databases Section
cPanel Databases Section
  1. On the MySQL® Databases page, scroll down until you see the Current Users section.

  2. Locate the Username that you wish to update the password for and click Change Password

cPanel MySQL Database Users Screenshot
cPanel MySQL Database Users Screenshot
  1. On the next screen, you’ll see 2 fields to enter your new password and confirm the new password. Then click Change Password.

We suggest using the password generator so that you have a strong and unique password. Copy and paste it into the config file(s) of your website that depend on it to make the database connection.

If you need any assistance, please submit a ticket for Technical Support


Check a Database

Difficulty Level: Easy

If you suspect your database may be corrupted, you may login to cPanel and use the Check Database feature to determine if any issues are present.

This process is easy to follow and does not require a backup of your database prior to running the check. To get started:

  1. Login to your cPanel account

  2. Find the Databases section and click on MySQL® Databases

cPanel Databases Section
cPanel Databases Section
  1. Scroll down to the section titled Modify Databases
cPanel MySQL Databases Screenshot
cPanel MySQL Databases Screenshot
  1. The first option is Check Database

  2. Choose the Database you would like to check and click the button

  • If the system detects a problem in the database, it displays the name of the corrupt table.
  • If the Check Complete message displays, the database functions correctly.
cPanel MySQL Database Checking Database Screenshot
cPanel MySQL Database Checking Database Screenshot

If no issues are detected, you may either check another Database or leave this screen. If an issue is detected, scroll down to the next section on this page to see how to repair it.

If you need any assistance, please submit a ticket for Technical Support


Repair a Database

If there are any corrupted tables within your database, you will now want to repair them.

This process is easy to complete and does not require a database backup prior to starting.

  1. Login to your cPanel account

  2. Find the Databases section and click on MySQL® Databases

cPanel Databases Section
cPanel Databases Section
  1. Scroll down to the section titled Modify Databases
cPanel MySQL Databases Screenshot
cPanel MySQL Databases Screenshot
  1. The second option is Repair Database

  2. Choose the Database you would like to repair and click the repair button

  • If the system cannot repair the database, it will attempt to determine the source of the corrupt data.
  • If the Repair Complete message displays, the system successfully repaired the database.
cPanel MySQL Database Repair Database Screenshot
cPanel MySQL Database Repair Database Screenshot

Hopefully, cPanel was able to repair your database. If not, your problem may be more severe and you should contact a qualified developer to assist in resolving the issue for you.

If you need any assistance, please submit a ticket for Technical Support


cPanel MySQL® Databases Official Documentation