cPanel’s PostgreSQL Databases screen lets you create a database and give a database user access to it. You can also remove that access or delete a database that is no longer required.

Open PostgreSQL Databases

Log in to cPanel and open Databases > PostgreSQL Databases. The feature appears only when your provider has installed and enabled PostgreSQL.

Use cPanel’s database tools to create databases and users, rather than creating them directly in phpPgAdmin.

Create a database

  1. Under Create New Database, enter a name.
  2. Click Create Database.
  3. Return to the database list and record its full name, including any account prefix.

For a new database and user, the PostgreSQL Database Wizard can guide you through both tasks if it is available.

Give a user access

  1. Create a database user under the user section if you do not already have a suitable one.
  2. Under Add User to Database, select that user and the intended database.
  3. Click Submit.
  4. Check that the user appears under the database’s Privileged Users.

Use the full database and user names in the application’s connection settings.

Remove database access

Under Current Databases, select the delete action beside the intended privileged user and confirm. This removes that user’s access to the selected database; it is different from deleting the database user itself.

Delete a database

Keep a verified backup and confirm that no application still needs the database. Under Current Databases, click Delete beside the exact database and confirm the selection.

Deletion removes the database and its data. It cannot be undone through this screen without restoring a suitable backup.