📌 Purpose & Quick Summary
For enterprise applications requiring advanced object-relational capabilities, GIS geospatial data, or complex transactions, BoostonCP provides dedicated PostgreSQL Databases support. From this interface, you can provision PostgreSQL schemas, configure database users, obtain direct connection URI strings, and integrate Python, Node.js, Ruby, or Go applications.
Figure 10: PostgreSQL database hub showing active databases, port 5432 listener, and connection URIs.
🖥️ Interface Tour & Elements
- PostgreSQL Engine Status: Real-time service indicator confirming PostgreSQL daemon availability on Port
5432. - Create Database Action Button: Launches the PostgreSQL database creation modal.
- Database Ledger Table: Displays Database Name, Assigned User, Connection Host, Port
5432, and Action controls. - Copy Connection String Button: 1-click utility that copies the complete application connection URI formatted for
.envor application configuration.
🛠️ Step-by-Step Instructions
Step 1: Provisioning a PostgreSQL Database
- In the sidebar, click PostgreSQL DBs (icon:
fa-server). - Click Create PostgreSQL Database.
- In the dialog:
- Database Name: Enter the database suffix (e.g.
app). - Username: Enter the database username.
- Password: Generate or input a strong password.
- Database Name: Enter the database suffix (e.g.
- Click Create Database. The PostgreSQL engine provisions the database and assigns owner privileges.
Step 2: Copying the Connection URI
- In the database ledger table, locate your database.
- Click the Copy URI button.
- The connection string is formatted as:
postgresql://username:[email protected]:5432/dbname - Paste this string directly into your Django, Prisma, or Rails
DATABASE_URLenvironment variable.
Step 3: Deleting a PostgreSQL Database
- Click the Delete button next to the database entry.
- Confirm the prompt to immediately terminate connections and drop the database.
⚙️ Complete Field & Parameter Reference Table
| Connection Parameter | Value | Description |
|---|---|---|
| Host | 127.0.0.1 |
Local loopback address ensuring fast, secure local socket communication. |
| Port | 5432 |
Standard PostgreSQL listener port. |
| Protocol | postgresql:// |
Standard URI scheme for modern ORMs (Prisma, TypeORM, SQLAlchemy). |
| Default Encoding | UTF8 |
Universal character encoding standard. |
❓ Troubleshooting & Common Errors
1. Card Displays "PostgreSQL Not Installed"
- Cause: The PostgreSQL service has not been installed by the server administrator on this BoostonCP node.
- Solution: Contact your hosting provider or server administrator to install the PostgreSQL package from the Admin Software Store.