[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] config error: install_driver(mysql) failed
The can't locate error occurs when the DBI/DBD Perl module is not installed
on your system. Look for it and if you don't find it download it at
www.perl.com/CPAN
At 21:21 24/11/99 +0100, you wrote:
>****** message to minivend-users from Tom Craig
><tom@paradoxcafe.com> ******
>
>Hi Everyone,
>
>I have MiniVend V3.14-3 (not) running with MySQL on a Cobalt RAQ2. When I
>./restart the server, I get the following "install_driver(mysql) failed:
>Can't locate DBD" error. Can anyone tell me what I am doing wrong?
>
>- - - [24/November/1999:19:24:50 +0000] - - STOP server (1785) on signal TERM
>- - - [24/November/1999:19:25:04 +0000] - - MiniVend V3.14-3
>- - - [24/November/1999:19:25:04 +0000] - - Config '_mv_admin' at server
>startup
>- - - [24/November/1999:19:25:05 +0000] - - Config 'simple_2' at server
>startup
>- - - [24/November/1999:19:25:06 +0000] - - Config 'simple' at server startup
>- - - [24/November/1999:19:25:06 +0000] - - simple config error:
>install_driver(mysql) failed: Can't locate DBD
>/mysql.pm in @INC (@INC contains: /usr/local/etc/mvend/lib
>/usr/lib/perl5/mips-linux/5.00404 /usr/lib/perl5
>/usr/lib/perl5/site_perl/mips-linux /usr/lib/perl5/site_perl .) at (eval
>93) line 2, <IN> chunk 1.
> >
> > DBI::install_driver('DBI', 'mysql') called at
>/usr/lib/perl5/site_perl/DBI.pm line 348
> > DBI::connect('DBI', 'dbi:mysql:mvend:localhost:3306', 'username',
>'password', undef) called at /usr/local/etc/mvend/lib/Vend/Table/DBI.pm
>line 99
> > Vend::Table::DBI::create('Vend::Table::DBI', 'HASH(0x10a71d44)',
>'ARRAY(0x10a363cc)', 'products') called at
>/usr/local/etc/mvend/lib/Vend/Table/Import.pm line 160
> >
>Vend::Table::Import::import_ascii_delimited('/home/sites/home/catalogs/simpl
>e/products/products.asc', '
>HASH(0x10a71d44)', 'products') called at
>/usr/local/etc/mvend/lib/Vend/Data.pm line 916
> > Vend::Data::import_database('products.asc', 8, 'products') called
>at /usr/local/etc/mvend/lib/Vend/Data.pm line 141
> > Vend::Data::tie_database() called at
>/usr/local/etc/mvend/lib/Vend/Data.pm line 126
> > Vend::Data::open_database(1) called at
>/usr/local/etc/mvend/bin/minivend line 1594
> > eval {...} called at /usr/local/etc/mvend/bin/minivend line 1560
> > main::config_named_catalog('simple', 'at server startup') called at
>/usr/local/etc/mvend/bin/minivend l
>ine 3132
> > eval {...} called at /usr/local/etc/mvend/bin/minivend line 3131
> > main::main_loop() called at /usr/local/etc/mvend/bin/minivend line
>3220
> > eval {...} called at /usr/local/etc/mvend/bin/minivend line 3220
>- - - [24/November/1999:19:25:07 +0000] - - simple: config error. Skipping.
>- - - [24/November/1999:19:25:08 +0000] - - START server (2009) (INET and
>UNIX)
>- - - [24/November/1999:19:25:08 +0000] - - Accepting connections from
>localhost|127\.0\.0\.1
>
>
>This is from catalog.cfg (mvend is the name of the MySQL database)
>
>#Database products products.asc TAB
>#Database products INDEX category
>Database products products.asc dbi:mysql:mvend:localhost:3306
>Database products USER username
>Database products PASS password
>Database products COLUMN_DEF code=char(20), nontaxable=char(4)
>Database products COLUMN_DEF price=char(20)
>Database products COLUMN_DEF title=char(64)
>Database products DELIMITER TAB
>
>Any help greatly appreciated..
>
>All the best,
>
>Tom..
>
>---------------------------------------------------
>N: Tom Craig
>E: <tom@paradoxcafe.com>
>W: http://www.paradoxcafe.com/
>T1: (France) +33 (0) 616 215 777
>T2: (UK) +44 (0) 705 069 3887
>?: NEW MEDIA DESIGN - PARADOX CAFE
>-
>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
Nathan ZYLBERSZTEJN
G.S.M:+32/(0)75-97-91-72
E-mail:zyloo@zylooplanet.net
____________________
ZylooPlaNet
79 rue Guillaume STOCQ
1050 BRUXELLES
Tel./Fax.: +32/2-646-77-46
Hébergez gratuitement le site de votre entreprise
http://www.zylooplanet.net