Hi John,

You say ppm indicates that DBI is up to date -- did you try running 'ppm verify DBD::mysql'?

Mark

John D Thiesen wrote:
This may be some kind of elementary problem, but I don't understand it.

I'm trying to run a program that loads records into a mysql table. According to ppm, I have the latest version of DBI installed. But I get the following error message every time:

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: C:/Program Files/perl/site/lib C:/Program Files/perl/lib.) at (eval 4) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed
or perhaps the capitalization of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
at C:\Documents and Settings\jthiesen\My Documents\perl\obitload.pl line 17

And here's the code in the first part of the program

use DBI;



$obitout = DBI->connect('dbi:mysql:obits', 'root', 'password') or die "Connection Error: $DBI::errstr\n";


John D. Thiesen                                 voice (316) 284-5360
Archivist and Co-director of Libraries                  fax (316) 284-5843
Mennonite Library and Archives [EMAIL PROTECTED]
Bethel College http://www.bethelks.edu/jthiesen/
300 E. 27th St.
North Newton, KS  67117-0531

--
Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Voice: 778.782.6959 / Fax: 778.782.3023
[EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Reply via email to