Re: CGI program cannot access database

From: Samik Raychaudhuri <samik(at)freeshell(dot)org>
To: Steven Klassen <sklassen(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: CGI program cannot access database
Date: 2004-10-08 16:37:49
Message-ID: 4166C25D.5000103@freeshell.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 10/8/2004 10:17 AM, Steven Klassen wrote:

>$dbh=DBI->connect("dbi:Pg:dbname='samik';host='abc.org';port=5432","samik","xxxx");
>
>
>It seems that machine can't resolve abc.org (although I can). The
>format of your connect string is a little unorthodox, but it seems to
>work in general.
>
>
>
Thanks very much for your reply. Why do you say that the connect string
is a little unorthodox? I just followed the standard DBI documentation.
Regards,
-Samik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steven Klassen 2004-10-08 17:09:13 Re: CGI program cannot access database
Previous Message Samik Raychaudhuri 2004-10-08 16:35:34 Re: CGI program cannot access database