CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Problem with DBI



Oct 26, 2013, 2:15 AM

Post #1 of 2 (858 views)
Problem with DBI Can't Post

I am not able to connect with mysql using perl. I downloaded following binary:



I am getting following error during compilation


install_driver(mysql) failed: Can't loce]ate loadable object for module DBD::mysql in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at (eval 3) line 3.
Compilation failed in require at (eval 3) line 3.
Perhaps a module that DBD::mysql requires hasn't been fully installed
at line 4.

C:\Perl64\bin>ppm install DBD::mysql
No missing packages to install


Kindly guide me.


Veteran / Moderator

Oct 26, 2013, 6:52 AM

Post #2 of 2 (851 views)
Re: [zak100] Problem with DBI [In reply to] Can't Post

How did you initially install the DBD::mysql module?

Where there any errors/warnings during that install?

It's been several years since I tried to install DBD::mysql on a 64 bit perl via ppm and at that time the 64 bit version was not ready for prime time and always failed. That may not be the case anymore.

You could try uninstalling it then reinstall it via cpan instead of ppm. Before you install the module, you'll need to install MinGW so that you'll have the proper compiler to build modules from source.

MinGW might now be in Activestate's repository (it wasn't the last time I used Activestate), so you might be able to install it via ppm.

(This post was edited by FishMonger on Oct 26, 2013, 6:55 AM)


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives