Connecting to the database cluster with psql
Suggest editsWhen the cluster is ready, you'll see it as created in the Clusters view.
You'll need the cluster credentials to connect to the database. Select cluster's name to view the cluster details. On the first tab, Overview, you'll see a Quick Connect field.
This is a complete command for connecting to the database, assuming that is, that you are using psql
as your Postgres client as suggested in the previous step.
Copy the Quick Connect field to your clipboard and paste it into a terminal on your local system.
Your command line should look like this:
Press enter. You'll see a password prompt. This is the password you copied earlier. Enter the password and press enter again.
You are now connected to the database cluster. To be precise, you are now logged in as the edb_admin
user of the database. Treat this user as a superuser and be careful with what you do. You can create new users and databases, and do anything else you need to do with the database.
Next steps
- On this page
- Next steps
Could this page be better? Report a problem or suggest an addition!