How to create a MySQL database in cPanel
A site needs three things: a database, a database user and the user's privileges on that database. In cPanel the names start with a prefix - the account name and _.
1. Database
- Open "Manage My Databases" (group "Databases").
- In "New Database", enter a name, for example
shop. - Click "Create Database".

2. User
- Below, in "Add New User", enter a name, for example
shop. - Set a password or click "Password Generator". Save the password.
- Click "Create User".

3. Privileges
- In "Add User To Database", select the user and the database.
- Click "Add".

- Check "ALL PRIVILEGES".
- Click "Make Changes".

In "Current Databases", the user now appears next to the database.

What to enter in the site settings
| Setting | Value |
|---|---|
| Database host | localhost |
| Database name | full, with prefix: example_shop |
| User | full, with prefix: example_shop |
| Password | the database user's password |
"Database Wizard" does the same step by step.
