[Zope] ZPyGreSQL Database Connection Problem
Oleg Broytmann
phd@sun.med.ru
Wed, 10 Mar 1999 11:11:55 +0300 (MSK)
Hi!
On Tue, 9 Mar 1999, Mike Pelletier wrote:
> The connection string in Zope should be:
> baseball@localhost:5432 your_user_name
You don't need hostname and port part, so the connection string can be
just "baseball user_name".
(BTW, without host:port, libpq will connect to postgres using UNIX
sockets, not TCP/IP. I think it is much better - for speed and security)
> Mike.
>
> On Tue, 9 Mar 1999, William Whitehead wrote:
>
> > I just installed the updated version of PostgreSQL 6.4.2 on Linux 2.2.2. I
> > was able to compile and add the ZPyGreSQL Product to my Zope installation.
> > I want to create a Database connection. When I go to create a new one, it
> > asks for the Id, Title, and Database Connection String. What do I put into
> > the Database Connection String? I tried the database I want to use, but it
> > gives
> >
> > Invalid connection String: baseball
> >
> > Is it a rights issue with PostgreSQL or something else? What is it
> > expecting the database connection string field anyway? Thanks for your help!
> >
> > Bill
> >
> >
> > -
> > ======================================================================
> > William (Bill) Whitehead | Ph:(801)378-3266 Fax:(801)378-6708 |
> > Library Information Systems | Email: |
> > 2840 HBLL | mailto:william_whitehead@byu.edu |
> > Provo, UT 84602 | Home Page |
> > | http://www.lib.byu.edu/~wbw |
> > ======================================================================
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> >
> > (For developer-specific issues, use the companion list,
> > zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
> >
>
> --
> --- | Mike Pelletier Work: 519-746-1607
> /opeware! | Software Developer Home: 519-725-7710
> --- | mike@zopeware.com Fax: 519-746-7566
> http://www.zopeware.com | Zopeware is not endorsed by Digital Creations
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.