develooper Front page | perl.dbi.users | Postings from July 2006

Error while running DBI with Perl and MySQL

Thread Next
From:
Keith, Robert
Date:
July 20, 2006 15:17
Subject:
Error while running DBI with Perl and MySQL
Message ID:
DD681F21BE79FF4689CCA90C808A4A3A0324D8F5@cceexc13.americas.cpqcorp.net
DBI Team
  I am learning Perl and using the book from apress called Beginning
Perl.  There is a section showing Perl and DBI. 
I installed MySQL and was able to build the database as per the books
instructions.  But when I try to run the Perl scripts to access the data
via DBI I get the following error.

C:\Perl\begperl\Chapter15>perl showmusicians.pl Can't locate object 
>method "require_version" via package "DBI" at c:/perl/site/l 
>ib/PerlEx/DBI.pm line 22.
>Compilation failed in require at showmusicians.pl line 5.
>BEGIN failed--compilation aborted at showmusicians.pl line 5.

    This is all under Windows XP.
    MySql 5.0 and Lastest Perl downloaded from the Perl.ORG website.

I have used DBI on linux to MySql and other databases so I have a little
experience with this.
Just not on the windows side.  I also installed Apache for windows so I
can test some Perl CGI DBI applications.
Thanks any help you can offer.

Bob Keith
210 827 5343
Robert.keith@hp.com

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About