×

How to create a MySQL database in cPanel?

Creating a MySQL database in cPanel is a simple and necessary process for managing web applications and websites that require storing data in a MySQL database.

Follow the steps below to set up a database in cPanel:

Create the database

  1. Log in to your cPanel account with your credentials.
  2. Access “Manage My Databases” from the “Databases” section.
  3. In the “Create New Database” section, enter a name for the database and confirm with the “Create Database” button.

Creating a User

  1. From the "Manage My Databases" page, scroll to the "Add New User" section.
  2. Enter a username and password for the database account and confirm with the “Create User” button.

Add User to Database

  1. From the "Manage My Databases" page, scroll to the "Add User to Database" section.
  2. Select the newly created user and database and click “Add”.
  3. Select privileges individually or select “All Privileges”.
  4. Confirm with “Make Changes”.

 

image-review-0
Rating: 4.6 | 88 reviews
image-review-1
Rating: 5.0/5