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

Why am I receiving emails telling me I have exceeded the max defers and failures per hour?

As part of our defense against spam we have in place a limit on the number of deferred or failed...

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

Do Yarra Valley Hosting take backups?

Yes, we do take account backups for disaster recovery purposes. These backups are generally...

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 access cPanel?

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