Skip to content

Connect

After installing, open a shell of your choice and connect to your database. psql supports the connection string format. Copy the connection string you saved in the user creation step and use it in conjunction with the pgcli-command. As an alternative, you can also compose the connection string by yourself: postgresql://<USERNAME>:<PASSWORD>@<HOSTNAME>:5432/<DATABASE NAME>. Now connect to the database:

Terminal window
psql postgresql://<USERNAME>:<PASSWORD>@<HOSTNAME>:5432/<DATABASE NAME>

When your console shows the name of your database followed by =>, you are connected succesfully:

crm=>

Press Control + D, to close the connection and return to your command prompt.