How to Create and Manage PostgreSQL Databases in cPanel
Step 1: Log in to cPanel
- Access your cPanel account using your login credentials.

Step 2: Access PostgreSQL Databases
- In the cPanel dashboard, scroll down to the Databases section, Click on PostgreSQL Databases.

Step 3: Create a New Database
- In the Create a New Database field, enter a descriptive name for your database.
- Click Create Database, cPanel will confirm that the database was successfully created.

Step 4: Create a Database User
- Scroll down to the Add New User section.
- Enter a username and strong password.
- Example: Username: mywebsite_user
- Use the Password Generator for a secure password.
- Click Create User, cPanel will confirm the user creation.

Step 5: Assign User to Database
- Scroll to the Add User to Database section.
- Select the user from the dropdown menu.
- Select the database to assign the user to.
- Click Add.
- On the next screen, select the privileges you want to grant the user:
- ALL PRIVILEGES is commonly used for full access.
- Click Make Changes to confirm.
