← Back to Postgres GUI FAQs
How to Connect to a PostgreSQL Database
The Postgres GUI supports two connection methods. Use whichever is more convenient for your setup.
Method 1: Connection URL (Scheme Mode)
- Open the Postgres GUI tool.
- Make sure the "Scheme" tab is selected.
- Paste your PostgreSQL connection string:
postgresql://username:password@host:5432/database_name
Click Connect. The tool will test the connection and load your tables.
Method 2: Individual Fields (Standard Mode)
- Switch to the "Standard" tab.
- Fill in the fields:
Host— your server address (e.g.localhostordb.example.com)Port— usually5432Username— your database userPassword— the user's passwordDatabase— the database nameSSL— choose the appropriate mode for your server
Click Connect to establish the connection.
Troubleshooting
- Make sure your PostgreSQL server allows remote connections if connecting from outside
- Check that the user has
CONNECTprivilege on the target database - For cloud databases, ensure your IP is whitelisted in the firewall rules
- If you get an SSL error, try switching the SSL mode to
require