Articles → POSTGRESQL → Connect To Postgresql Server
Connect To Postgresql Server
How To Connect?
- Open PgAdmin 4.
- Following window will appear
Click to Enlarge
- Once you click on PostgreSQL 11, following window will appear
Click to Enlarge
- Open the file ‘pg_hba.conf’ (PostgreSQL\11\data folder).
- Scroll to the end of file. You will observe that method for all types of connections is ‘md5’.
Click to Enlarge
- Change md5 to trust
Click to Enlarge
- Save and close the file.
Click to Enlarge