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

CURL: could not resolve host: cpanel.net

Error: curl: (6) Could not resolve host: securedownloads.cpanel.net; Unknown error Fix:...

How to Choose the PHP Version by Domain

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

How to empty my DNS cache

Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web...

cPanel domain.com/whm is broken?

If yourdomain.com/cpanel and yourdomain.com/whm both go to a 500 internal error page instead of...

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...