Introduction

In addition to MySQL, cPanel also supports PostgreSQL — a powerful, open-source relational database system known for its advanced features and robust performance. If your application or CMS requires PostgreSQL, cPanel provides built-in tools to help you create, manage, and access PostgreSQL databases easily.

This article explains how to use the PostgreSQL tools in cPanel.


What is PostgreSQL?

PostgreSQL (often referred to as Postgres) is an enterprise-class database system known for:

  • Complex query handling

  • ACID compliance

  • Extensibility (custom functions, data types)

  • Support for JSON and NoSQL features

It’s ideal for high-performance applications and developers who need advanced database features.


How to Access PostgreSQL Tools in cPanel

  1. Log in to your cPanel account

  2. Scroll to the Databases section

  3. Look for the following tools:

    • PostgreSQL® Databases

    • PostgreSQL® Database Wizard

    • phpPgAdmin

If these tools are not visible, your hosting provider may not have PostgreSQL enabled on your plan.


Create a PostgreSQL Database

  1. Click on PostgreSQL® Databases

  2. Under Create New Database, enter a database name

  3. Click Create Database

  4. You’ll see a confirmation message when the database is created


Create a PostgreSQL User

  1. Under PostgreSQL Users, enter a username and password

  2. Click Create User

  3. The user will be created and can now be assigned to a database


Assign User to Database

  1. Scroll to Add User to Database

  2. Select the user and database from the dropdowns

  3. Click Submit

  4. Choose the privileges to assign (you can select All Privileges for full access)


Manage PostgreSQL with phpPgAdmin

  1. In the Databases section, click phpPgAdmin

  2. This tool allows you to:

    • Browse and edit database tables

    • Run SQL queries

    • Create and drop tables

    • Import and export data

phpPgAdmin is the PostgreSQL equivalent of phpMyAdmin for MySQL.


Tips for Using PostgreSQL in cPanel

  • Use strong passwords for database users

  • Only assign necessary privileges for security

  • Regularly back up your PostgreSQL databases via phpPgAdmin or command line

  • Optimize and vacuum databases to maintain performance over time


Conclusion

PostgreSQL support in cPanel allows you to use advanced database capabilities with ease. From creating databases and users to managing data with phpPgAdmin, cPanel provides all the tools you need to integrate PostgreSQL into your website or application workflow.

Was this answer helpful? 0 Users Found This Useful (0 Votes)