How to Create a Database in MySQL

1. Click on the MySQL icon. You can create a database via your control panel by clicking on the MySQL icon. Here is a link to some information that may be helpful in setting up a database: http://www.cpanel.net/docs/cpanel/

2. Scroll down to the MySQL menu.

3. Create the database. When you create the database you are able to choose the name which then becomes the name of your database. Your username will be added to it so that the full database name will be username_dbname.

You will also need to create a database username and password under MySQL. The dbusername is limited to 8 characters. Your username will be added to it so that the full dbusername will be username_dbusername.

4. Add the User. You then add this user to the database you created and it should then give you some connection strings for Perl and Php. To add the user, select the user in the drop-down list and select the database in the other drop-down list. Then click the Add User to DB button under it.


If you still have questions about MySQL databases, please contact us by opening a support ticket or by using our live chat feature.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

How to Install cPanel

To install cPanel & WHM on your server, run the following command: cd /home &&...

How to Redirect Different Versions of the Same Site (www to non-www and vice versa)

You can redirect www accesses of your domain to the non-www version using the cPanel Redirections...

Official cPanel Documentation

cPanel offers a wide variety of services for you and your growing business. The control panel is...

How to Choose the PHP Version by Domain

cPanel supports the possibility of selecting different PHP versions for your different domains....

How to do a Backup Restore

Once you have configured the backup for your server and the first backup has been taken, you can...