Skip to content

How do I create a MySQL database?

All shared, reseller, and semi-dedicated hosting plans include unlimited MySQL databases through cPanel.

  1. Log in to cPanel and search for MySQL Databases.

  2. Under Create New Database, enter your new database name and click Create Database.

  3. Your new database will appear under Current Databases.

After creating the database, you need to create a user and assign it privileges:

  1. On the same MySQL Databases page, scroll to MySQL Users > Add New User.

  2. Enter a username and password, then click Create User.

  3. Under Add User To Database, select the user and database from the dropdowns and click Add.

  4. On the privileges screen, select the permissions the user should have (or check ALL PRIVILEGES) and click Make Changes.