MySQL Databases lets you create databases and users and connect them.
Steps
- Log in to cPanel.
- Go to the Databases section.
- Click MySQL Databases.
- Under Create New Database, enter a name and click Create Database.
- Under Add New User, create a user.
- Under Add User To Database, select the user and database and click Add.
- Select the privileges and click Make Changes.
Notes
- In your website settings, use localhost as the database host.