Creating MySQL databases

To create a MySQL database:

  • Go to MySQL Databases in your cPanel
  • Under 'Create New Database', enter the database name you wish to use
  • Select 'Create Database'


Your full database name and database user name will have your cPanel username and an underscore appended to the beginning of the database name / user name you enter. 

Example:

If the user name for your cPanel account is "domainc" and you have created a database named "phpbb" and a database user named "bbuser" then the correct database and database user names will be as follows:

database = domainc_phpbb
database user = domainc_bbuser


For further information:
Please refer to the cPanel documentation for database features, here.

Was this answer helpful?

 Print this Article

Also Read

Why am I receiving a 'Cannot Connect to Database' error?

Receiving a 'Cannot Connect to Database' error indicates that the database settings entered in...

What is phpMyAdmin and how do I access it?

phpMyAdmin is a PHP-based MySQL database administration utility which can be used to modify and...

Using PHP 5.3 or Prior

While our shared servers do allow for the selection of multiple PHP versions, we highly recommend...

Is ImageMagick available at HostRocket?

Yes. We can install ImageMagick on any/all servers upon request, and most of our servers already...

Cron Jobs

Cron Jobs are a utility designed to execute programs (usually maintainence tasks) automatically...