I have an amazon server instance(Amazon Linux AMI release 2010.11.2 (beta)
)that is running my postgreSQL server 8.4. I want to access it with my locally running pgAdmin and i am not able to connect it.
I have many question i need help with:
1. On server postgresql is running and psql is able to connect with it but i can't access it remotely.(I guess port 5432 is not open for outside world how can i open it providing i don't have access to amazon aws console only access to SSH and i have modified pg_hba.conf for trust mode and postgresql.conf to listen_addresses = '*').
2.On my server there are two roles: postgres and XYZ and i can not login with XYZ
\du ouput is:
Role name | Attributes | Member of
-----------+--------------+-----------
XYZ | Cannot login | {}
postgres | Superuser | {}
: Create role
: Create DB
My pg_hba.conf is:
local all all trust
3. Can i reinstall a latest 9.2 or 9.3 postgreSQL server on that linux server?