PostgreSQL Database Connection in QGIS
Step One: Download and install PostgressSQL and create a new database named postgres as below
Database properties:
database: postgres
usename: postgres
host: localhost
password: postgres
Step Two: Select eVis data connection tab from QGIS database menu and enter database properties, then click Connect.