How to Create a MySQL Database in cPanel

When you create a database, many users are unaware that there are several other items that you need to do as well. The new database creation process actually involves:

  1. Creating a database
  2. Creating a database user
  3. Giving your database user access to work with your database

Luckily for us, cPanel includes a MySQL Database Wizard that walks you through each of these steps.

Creating a database in cPanel using the MySQL Database Wizard:

  1. Log into your cPanel.
  2. Click the MySQL Database Wizard under the Databases heading.
  3. Next to New Database enter a name for your database and click Next Step.
  4. Next to Username enter a username.Enter a password next to Password, enter it again for Password (Again) and then click Create User.
  5. On the next page, you'll assign privileges for the user to the database. Check the box next to All Privileges and then click Next Step.

Congratulations, now you know how to successfully create a database!

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to install the Ynet's whmcs domain registrar module

PLease note that you need to have a Reseller Enabled account to use this service. Contact Ynet...

How To Enable or Disable Shell_exec in PHP

First you need to find the location of PHP.ini. You will need to have root access to your server...

5 Important Things to Consider When Choosing a Domain for Your Business or Website

When first setting up any website, one of the hardest — but most important — things to decide is...

How to setup cron job in cPanel to execute a URL

Many times we have been asked how to use the command line script ‘wget’ to run programs via http...

Adding an IP address to your VPS server through WHM

When an IP address is routed to your server, you will have to add it to the server before you can...