Creating a database is essential if you need dynamic contents in your website. For this operation you must be provided with a hostname (localhost), a database name, a database username and a database password. The hostname will be provided by your hosting provider while for creating your own name, username and password you can follow a simple procedure, using your cPanel control panel:
- Log-in to your cPanel control panel and click on “Database MySQL”, in “Database” section
- Type the database name in “Create new database”
- Click on “Create database” to confirm the operation and wait for the uploading to end
- Type your username in “Add new user” field
- Type your password or use the “password generator” to create one
- Click on “Create new user” to confirm the operation
- Combine your username with your database in “Add new user to database” section and click on “Confirm” to confirm the operation
- Allow all grants to your username
- Click on “Change” to confirm your choice.
To use "MySQL Database Wizard", check our related FAQ "How to create a Database in cPanel".