[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] Interface to SQL
On Sat, 23 Oct 1999, you wrote:
> ****** message to minivend-users from "Otis Gospodnetic" <otis@DOMINIS.com> ******
> >
> > Database products products.asc
> > dbi:Pg:dbname=sample:localhost:5432
>
> This looks more like a Perl/DBI problem to me.
> But note that the error message said that a '=' is missing _after_
> 'sample:localhost:5432' and you are putting the '=' in _front_ of it....
> Try putting it after, maybe it works.
I tried this but I don't think it's right either
Database products products.asc dbi:Pg:sample:localhost:5432=
because I get this:
MiniVend V3.14
Configuring catalog sample...sample config error: DBI connect failed: ERROR: PQconnectdb()
- unknown option 'sample:localhost:5432'
> If I were you I would make sure I have the latest DBI, make sure it passes
> all the tests on the install, and try to write a simple perl script that
> connects your Pq database and see what syntax you need to use for that.
> perldoc DBI.
That's a good idea I will recheck again.
Thanks
Karl
> I hope this helps.
>
> Otis
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list