PyGreSQL errors
Jay Love
jay_love at mindspring.com
Mon Apr 3 19:27:57 EDT 2000
The first thing that comes to mind is, have you created the test database?
Jay
In article <v04210108b50ec6c8e9bf@[192.168.1.2]>, Lee Joramo <ljoramo.list at nickads.com> wrote:
> I am trying to get pygresql to work. I have a Cobalt RaQ3 server which runs
> a slightly modified version of RedHat. The system came with PostgreSQL
> pre-installed. When I import the pygresql's basics.py tutorial at pythons
> command line, I follow the instructions to create a connection and get an
> error:
>
>
>>>> cnx = basics.DB('mytest')
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> File "/usr/lib/python1.5/pg.py", line 34, in __init__
> self.db = apply(connect, args, kw)
> pg.error: FATAL 1: Database mytest does not exist in pg_database
>
>
>
> What has gone wrong?
>
> --
> Lee A. Joramo ljoramo at nickads.com
> The Nickel Want Ads www.nickads.com
> Internet Manager 970-242-5555
>
> --
>
> Onward and Upward!
>
> Lee A. Joramo }}-----> Cowboy on the Electronic Frontier
>
> lee at joramo.com
>
> Alamar Ranch - Palisade - Colorado
>
> ThreeRivers|Eagle|UCD|D&D|TNC|DX|Mac|221B|Cannondale|Deutsch
>
>
More information about the Python-list
mailing list