You do not need to specify different database. It seems that you do not have an authority to access to the postgres database from localhost with "my_user" user. Please check your configuration of pg_hba.conf. http://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf.html