Adding a mySQL Database and Database User

1. Log into cPanel and select "mySQL Databases"

2. Find the box with "Db:" and enter the name that you'd like your database to have. Click "Add Db". Your database will be set up with the format username_dbname where username is the username of your cPanel account and dbname is the name you entered for the database.

3. Click the "Go Back" link to set up a database user

4. Find the "Username" and Password" boxes. Enter the name and password you'd like the user to have, and click "Add User". Your user will be set up with the format username_dbuser , where username is the username of your cPanel account and dbuser is the name you entered for the user.

5. Click the "Go Back" link to give the user permission to access the database

6. Under the databases will be 2 dropdown boxes. Select the database and user and click "Add User to Db".

Was this answer helpful?

 Print this Article

Also Read

CloudLinux Limits (LVE)

How to generate back up via Cpanel

To generate a full backup in cPanel:Log into cPanel.In the Files section, click on the Backups...

Setting Up Hotlink Protection

If someone is linking directly to your images or files from another website you may decide to set...

How to activate PHP5

Latest stable release of PHP 5 is now available on all our servers.Please not that by default...

How to Upgrade/Downgrade a hosting package

Please read this tutorial for detailed instruction on how to Upgrade/Downgrade a hosting...