Fail to connect to the database with pgAdmin, what is wrong?

You probably left the default 'postgres' in the 'Maintenance DB' field. Change it to the database name. More information about pgAdmin set up can be found here.