Last Updated: February 25, 2016
·
1.089K
· seuros

Connecting to Postgresql with DATABASE_URL and psql

If your server has set DATABASE_URL as environment variable, you can connect to the database using the URI. Just type

$ psql $DATABASE_URL