psql connections
SELECT * FROM pg_stat_activity;
psql connections
SELECT * FROM pg_stat_activity;
psql connect
psql -d gpdatabase -h master_host -p 5432 -U gpadmin
connect postgresql using a connection string
# Parse database configuration from $DATABASE_URL
import dj_database_url
# DATABASES['default'] = dj_database_url.config()
#updated
DATABASES = {'default': dj_database_url.config(default='postgres://user:pass@localhost/dbname')}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us