mplwbq
Last Updated: February 25, 2016
·
860
· 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