How do I create a MySQL database?

If you're looking to setup a MySQL database on your account you can create a MySQL database and an associated MySQL user in a few easy steps.
Simply login to your cPanel > goto the MySQL Database Wizard > and follow the prompts.

Once you've created your database and user you can add the details you created into your scripts configuration.

The database hostname (dbhost) field will vary depending on which server you're hosted on:
  • On a premiere hosting service you may retrieve the correct hostname via cPanel > MySQL Databases.

Was this answer helpful?

 Print this Article

Also Read

How do I setup email?

Configuration of email accounts involves setting up the email address both on our server...

Why am I receiving the error 550 Access denied?

All of our servers have a requirement for SMTP authentication in order to send email.When sending...

How do I access cPanel?

You can access cPanel from the following locations:...

How do I keep my site secure?

Making your website secure and keeping it that way is highly important, this can help to avoid...

How do I troubleshoot high resource usage reported by CloudLinux?

As we utilise a CloudLinux system on our servers, there are limits in place for Memory, CPU,...