postgresql allow remote connections
host all all 0.0.0.0/0 md5
host all all ::/0 md5
postgresql allow remote connections
host all all 0.0.0.0/0 md5
host all all ::/0 md5
how to access remote pstgres
psql -U postgres DATABASE_NAME < backup.sql
postgresql allow remote connections
listen_addresses = '*'
how to access remote pstgres
psql -U postgres
drop database DATABASE_NAME;
create database DATABASE_NAME;
create user USER_NAME;
alter role USER_NAME with password 'BITNAMI_USER_PASSWORD';
grant all privileges on database DATABASE_NAME to USER_NAME;
alter database DATABASE_NAME owner to USER_NAME;
psql -U postgres DATABASE_NAME < backup.sql
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