| From: | The Web Administrator <wwwadmin(at)wizard(dot)ca> |
|---|---|
| To: | pgsql-admin(at)hub(dot)org, pqsql-questions(at)hub(dot)org |
| Subject: | Trying to communicate to remote host via PG |
| Date: | 1998-05-11 14:32:27 |
| Message-ID: | 35570BFB.A1A8052A@wizard.ca |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Well, I have a nice little database that runs quite well, via a web
interface..
Moved the webpages and Cgi's to my production machaine, and can't access
the postmaster server...
I edited the pg_hba.conf file to allow access from the IP, and used the
trust method to get it up and running..(Do I need it in my /etc/services
file?)
I have changed the connect line in my script to include the dbhost=
option as below..
$conn=PG::connectdb("dbhost=<xxx.xxx.xxx.xxx>, dbname=<name>");
------------
I can access it via the command line, as the same user....
psql -h <xxx.xxx.xxx.xxx> -d <name>
Any help?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jackson, DeJuan | 1998-05-11 15:08:58 | RE: [ADMIN] Trying to communicate to remote host via PG |
| Previous Message | Michael Richards | 1998-05-10 02:37:29 | Maybe a Vacuum bug in 6.3.2 |