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
Written by Abdelkader Boudih
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Postgresql
Authors
Related Tags
#postgresql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#