Managing PostgreSQL databases and users

Creating a Database User

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool:                                                                                                                                                                PostgreSQL
  3. Under "Add New User," enter the desired username and password.
  4. Click "Create User" to create the database user.

Changing a User's Password

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                PostGreSql.png
  3. Under "Current Users," locate the user whose password you want to change.
  4. Click "Change Password" and enter the new password.
  5. Click "Change Password" to update the user's password.

Renaming a User

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                PostGreSql.png
  3. Under "Current Users," locate the user you want to rename.
  4. Click "Rename" and enter the new name.
  5. Enter the user's password and click "Change Password" to confirm the changes.

Deleting a User

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                PostGreSql.png
  3. Under "Current Users," locate the user you want to delete.
  4. Click "Delete" and confirm the deletion by clicking "Remove User."

Managing Databases

To create a database:

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                 PostGreSql.png  
  3. Under "Create New Database," enter the desired database name.
  4. Click "Create Database" to create the database.

To add a user to a database:

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                PostGreSql.png
  3. Under "Add User to Database," select the user and the database.
  4. Click "Submit" to add the user to the database.

To remove a user from a database:

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                              PostGreSql.png  
  3. Under "Current Databases," locate the user you want to remove.
  4. Click the trash can icon and confirm the removal by clicking "Delete User from Database."

To delete a database:

  1. Log in to cPanel.
  2. Open the PostgreSQL Databases tool.                                                                                                                                                                PostGreSql.png
  3. Under "Current Databases," locate the database you want to delete.
  4. Click "Delete" and confirm the deletion by clicking "Delete Database."

By following these steps, you can effectively manage PostgreSQL database users and databases using cPanel.

Was this answer helpful?

Related Articles

550 Sender verify failed error message

The "550 Sender verify failed" error message typically occurs when the sender's email...

Accessing cPanel

There are three ways you can access your cPanel account and either way will work. You can search...

Accessing phpMyAdmin and phpPgAdmin

To access phpMyAdmin and phpPgAdmin in cPanel, follow these steps: Log in to your cPanel...

Accessing the Managed Team feature in cPanel

To access the Manage Team feature on TurnupHosting, follow these steps: Log in to cPanel by...

Accessing webmail clients directly

To provide users with direct access to a specific webmail client when they log in, you can...