MySQL Database Wizard

cPanel can guide you through the process of setting up a MySQL database, along with the requisite accounts and privileges, step by step.

To set up a database using the MySQL Database Wizard:

  1. In the New Database field, enter a name for the database.
  2. Click Next Step.
  3. In the Username field, enter a name for the user allowed to manage the database.
  4. In the Password field, type the user’s password.
    • The password must be 7 letters or shorter.
    • For help generating a strong password, click the Generate Password button.
  5. Retype the password in the Password (Again) field.
  6. Click Next Step.
  7. Select the privileges you wish to grant the user, or select ALL PRIVILEGES.
  8. Click Next Step.

Next, cPanel will display a message stating that the database and user account were successfully set up. From here, you may select 1 of 3 options:

  • Add another database — Returns to the start of the MySQL Database Wizard.
  • Add another user using the MySQL Databases Area — Opens the MySQL® Databases page, wherein you may create additional user accounts and assign them to a database.
  • Return to Home — Opens the cPanel home screen.

Note: When you add a user and database using the MySQL Database Wizard, the user is automatically given access to the database; there is no need to use the Add User to Database feature.

Was this answer helpful?

 Print this Article

Also Read

What is MySQL?

MySQL is an open source relational database management system. MySQL is noted mainly for its...

Can I import csv files using Load Data Infile?

This feature is not supported by cpanel but you can ask support to add File_priv to your db user...

Why do I get error message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' on shell?

If you get this error message when trying to use mysql command line utility from shell: Can't...

How can I backup and restore my MySQL databases?

There are two main ways to back up or restore a MySQL database on our servers: via SSH or the...

phpMyAdmin

phpMyAdmin is a third-party tool included with cPanel, used for maniuplating MySQL databases...