Quantcast
Channel: ActiveState Community Site - PPM
Viewing all articles
Browse latest Browse all 154

ERROR : Can't locate DBD/mysql.pm

$
0
0

Dear Sir,

While executing a perl script in Windows 2008- 64bitPC. I am getting the below
error message.

====================
Can't locate DBD/mysql.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/
ib .) at line 3.
====================

When I have checked for mysql.pm file, it was not present in the location
C:/Perl64/site/lib. I have also checked at the location C:/Perl64/lib, there
DBI folder is present but there is no "mysql.pm" file. I have copied the files
from C:/Perl64/lib/DBI under C:/Perl64/site/lib as all the perl modules and
files are by default taking from this location. While trying to install the
DBI:mysql from PPM, it is asking for the login details of activeperl business
version.

Later, I have removed the files that I have manually copied. I have installed a
Community Edition from the URL :
http://www.activestate.com/activeperl/downloads.

Could you please update me with the exact steps for the installation of the
DBI::mysql module? I have gone through the docs that you have mentioned above.
The give for PPM is not having the exact location from which I have to download
the DBI::mysql module.

Regarding the second link, it is not useful for me as I am using ActivePerl
Community Edition.

Thank you in advance.

Awaiting your reply.

Regards,
Priya Prabhakar


Viewing all articles
Browse latest Browse all 154

Trending Articles