WebFaction
Community site: login faq

I want to test my django app from my own computer, but through the webfaction database. I followed the directions in: http://docs.webfaction.com/user-guide/databases.html#accessing-a-database-remotely

I set up the SSH tunnel, and the client (pgAdmin III) can connect to the database. However, I get the following error:

FATAL: no pg_hba.conf entry for host "127.0.0.1", user "bbirand", database "postgres", SSL on FATAL: no pg_hba.conf entry for host "127.0.0.1", user "bbirand", database "postgres", SSL off

Do I need to edit the pg_hba.conf file to make this work? Is the documentation above not complete?

Thanks

asked 21 Dec '10, 15:18

graffitici
111
accept rate: 0%


The database name will not be 'postgres' but the same as the database name itself.

permanent link

answered 26 Dec '10, 17:30

johns
5.4k312
accept rate: 23%

SO, do you mean I should use 'my_db_name' in 'maintenance DB' field asked in PgAdmin?

(18 Nov '15, 10:32) rajkumar2014

Yes, you should use the database name and database user that you created in the Control Panel.

(18 Nov '15, 12:22) aaront ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×109
×84

question asked: 21 Dec '10, 15:18

question was seen: 6,364 times

last updated: 18 Nov '15, 12:22

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM