How do I create a database in MySQL?

You can create a database via your control panel by clicking on the MySQL icon. When you create the database you choose the name. This 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 database username and password under MySQL. The dbusername you input is limited to 8 characters. Your username will be added to it so that the full dbusername will be username_dbusername. 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.

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

How do I back up a MySQL Database?

You can backup your database two ways. 1. Click on Backup in Cpanel then click on the...

Can I connect to MySQL remotely?

Yes, you can connect to your MySQL database remotely using a client such as MySQL-Front at...

How do I import and export a MySQL DB using phpMyAdmin?

Step 1: Open phpMyAdmin and select the database from where you want to export data and/or...

What are the connection settings for my MySQL Database?

The hostname to connect to is "localhost"; without the quotes. The database username and password...

Am I allowed to use scripts and software that connect to MySQL?

Yes! Absolutely. So long as they are hosted on your account you can use MySQL databases to run...