How do I add a mysql database in Cpanel?

To create a MySQL database:

- Go to 'Manage Mysql' under the database header in Cpanel

- In the DB text field, type the name you wish to give your database
- Click the Add DB button
- At the bottom of MySQL Manager under 'Users' type a
database user name and password
- Click the Add User button

Now for the important part that everyone misses:

You should now see your new user listed in the dropdown menu after "User:" and your new database listed in the "DB:" dropdown menu. (if you don't try refreshing the page in your browser) Then, select BOTH the username AND the DATABASE NAME and click the Add User to DB button to add your user to your database and you're done.

Now that you have created a database, created a database user and have granted that user access to the database your mysql database is fully ready to use.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are the information_schema tables I see when viewing my database?

INFORMATION_SCHEMA provides access to database metadata. Metadata is data about the data, such...

How can I access mysql database remotely?

Under the mysql header in Cpanel, select 'manage mysql'Then scroll down to the 'access hosts'...

How can I backup a database using phpmyadmin?

Backing up your database in Phpmyadmin is accomplished by doing the following: 1) Once you have...

How do I backup a MySQL database using compression?

In this section, we will show you how to make a backup (also known as exporting) of your database...

Powered by WHMCompleteSolution