MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Oracle; DBI connect failed



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On 18 Mar 1999, Carsten Heim wrote:
> I tried the syntax
> 
>  Database            products     products.asc      SQL
>  Database            products DSN  dbi:Pg:dbname=music host=host.com
>  Database            products USER    music
>  Database            products PASS   XXXXXX
> 
> and now I get this message:
> 
> ...test config error: install_driver(Pg) failed: Perhaps the DBD::Pg module...
> Available drivers:ADO, ExampleP, Oracle, Proxy, XBase
> at home/pcuser/mvend/lib/Vend/Table/DBI.pm line 109
> 
> But when I use the syntax with dbi:Oracle......
> the driver seems to be found and I get the 'old' message.

I think someone else already mentioned this.  If you have a problem
connecting to an SQL database set MV aside for a bit and use simple
perl/DBI::DBD scripts to test your DBI, DBD and database setup.

It's a heck of a lot easier to troubleshoot a 20 line perl script
than a whole MV installation.

Once you have things working with perl/DBI the DSN you need will
be obvious.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
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


Search for: Match: Format: Sort by: