Re: connect problems - Mailing list pgsql-general

From Doug McNaught
Subject Re: connect problems
Date
Msg-id m3wuh9q9xg.fsf@varsoon.wireboard.com
Whole thread Raw
In response to connect problems  ("Zempel, David" <david.zempel@lmco.com>)
List pgsql-general
"Zempel, David" <david.zempel@lmco.com> writes:

> I'm just getting started, so please give me a break. I just installed
> Postgresql on HPUX and I'm trying to connect to it via a Perl app using
> DBI::Pg 1.22. I'm getting the following message that I think I understand.
> Yet, I've got no idea how to correct it.
>
>
>
> DBI connect('dbname=nlog:host=cheddar','postgres',...) failed: FATAL:
> Database "nlog:host=cheddar" does not exist in the system catalog. At
> ./nlog_maint line 244

The syntax of your connection string looks wrong.  Check the
documentation for DBD::Pg to get the correct syntax.

-Doug

pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Connection closed
Next
From: Karsten Hilbert
Date:
Subject: 'foreign key with default null' problem in allergies view