database connection error - postgresql
D'Arcy J.M. Cain
darcy at druid.net
Mon Mar 30 10:02:49 EDT 2009
On Mon, 30 Mar 2009 13:30:18 +0530
bijoy <bijoy.franco at gmail.com> wrote:
> conn=pg.connect("secondbooks.db")
> pg.InternalError: FATAL: database "secondbooks.db" does not exist
----------------------------------------------------------------------------------------------------
> In fact i have a database called secondbooks in postgresql.
If it is called "secondbooks" then why are you connecting to
"secondbooks.db" in the code?
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list