can't find DBI.pm
Posted by: m22wamp (---.0.22.125.airtelbroadband.in)
Date: December 10, 2006 11:53AM

i installed activestate perl addon but i'm unable to execute the perl files which have to access mysql database.
the error says unable to locate DBI.pm

i've installed wamp5 1.6.6
help!!!!!



Post Edited (12-10-06 11:53)

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: yfastud (---.cable.mindspring.com)
Date: December 10, 2006 03:49PM

Can't you access them separately? If not, solve one problem at a time. To solve problem w/ perl, check this post

[forum.wampserver.com]

For database and more, check this post

[forum.wampserver.com]

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: m22wamp (---.0.22.125.airtelbroadband.in)
Date: December 10, 2006 05:25PM

i'm able execute perl files widout problem.
problem arises ven i try to access mysql by using
"use DBI;" in my perl script.

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: yfastud (---.cable.mindspring.com)
Date: December 10, 2006 10:42PM

if so, check this

[dev.mysql.com]

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: m22wamp (---.51.101.203.airtelbroadband.in)
Date: December 11, 2006 08:04PM

thanks.i found the packages on the site u suggested. but they r in .tar.gz format and i dunno how to install them on windows:-(

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: yfastud (72.236.169.---)
Date: December 11, 2006 08:14PM

use 7zip or winrar to unzip it and it should have instruction inside or check manual installation on the site



Post Edited (12-11-06 20:15)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: m22wamp (---.50.144.59.airtelbroadband.in)
Date: December 12, 2006 05:00AM

thanks again:-)..

these were the instructions for installation:
"Windows

ActivePerl offers a PPM archive of DBD::mysql. All you need to do is typing

ppm
install DBI
install DBD-mysql

This will fetch the modules via HTTP and install them."

but i dunoo how to invoke ppm.

i tried to execute ppm from command prompt in the same directory as perl.exe but it didnt work.
i've perl.exe in c:\wamp\perl\bin\
should i install perl addon outside wamp installation folder or wat?

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: yfastud (72.236.169.---)
Date: December 12, 2006 01:27PM

sorry, buddy, I don't use it at all, so you should seek help from that site instead and post solution here for other if they encounter same problem

btw, check this one to see if you can get any good tip from it

[urlhttp://perl.apache.org/docs/1.0/guide/performance.html[/url]



Post Edited (12-12-06 13:42)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: can't find DBI.pm
Posted by: m22wamp (---.61.246.61.airtelbroadband.in)
Date: December 12, 2006 05:22PM

ok. thanks anyway for the help and the prompt repliessmiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.