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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
DBD-MySQL

 



Flexor
Novice

May 12, 2002, 5:26 AM

Post #1 of 6 (6778 views)
DBD-MySQL Can't Post

I have been trying to install DBD-MySQL on my webserver, but somehow it can't find this module. I have installed DBI and DB_file with no problems. Does anyone know how to go about installing DBD-MySQL, since I really want to use Perl with MySQL.


Kanji
User / Moderator

May 12, 2002, 3:47 PM

Post #2 of 6 (6777 views)
Re: [Flexor] DBD-MySQL [In reply to] Can't Post

DBD::mysql doesn't come with DBI: you'll need to download and install it seperately, either from/with [url=http://search.cpan.org/search?dist=DBD-mysql]CPAN or -- if you use ActivePerl -- [url=http://www.activestate.com/PPMPackages/5.6plus/DBD-Mysql.ppd]ppm.
--k.


Flexor
Novice

May 12, 2002, 11:44 PM

Post #3 of 6 (6776 views)
Re: [Kanji] DBD-MySQL [In reply to] Can't Post

Yeah, I found that out too. The problem I was having was I used the ppm3.bat file to run my PPM command. When I started using the ppm.bat version everything worked just fine.


yapp
User

May 17, 2002, 10:43 AM

Post #4 of 6 (6763 views)
Re: [Kanji] DBD-MySQL [In reply to] Can't Post

Hello there,

I'd really like to know how you can get DBI-MySQL working in Windows... I use the nmake tool in windows (grapped from a C++ CD-rom), but I keep getting compiling errors.. something with cl.exe. I put that file in my directory too, but still I can't get rid of all errors...

Lot's of other modules (who also require compilation) work (and compile) correctly

Yet Another Perl Programmer

_________________________________
~~> [url=http://www.codingdomain.com]www.codingdomain.com <~~
More then 3500 X-Forum [url=http://www.codingdomain.com/cgi-perl/downloads/x-forum]Downloads! Cool


Kanji
User / Moderator

May 18, 2002, 4:29 PM

Post #5 of 6 (6758 views)
Re: [yapp] DBD-MySQL [In reply to] Can't Post

You probably need the entirety of Visual C++ installed for it to work right, but if you use ActivePerl you can install a pre-compiled
[url=http://www.activestate.com/PPMPackages/5.6plus/DBD-Mysql.ppd]PPD from ActiveState using ...

c:\> ppm install dbd-mysql

I believe IndigoPerl is PPM compatable, but if you're using something like Cygwin, you're better off building with gcc/make instead of Visual C++/nmake.
--k.


abelsgmx
Novice

May 28, 2002, 3:55 PM

Post #6 of 6 (6722 views)
Re: [Flexor] DBD-MySQL [In reply to] Can't Post

Hi from Mexico!!!

Try this in Perl for Linux :

perl -MCPAN -e shell
cpan>install DBI

Wink


(This post was edited by abelsgmx on May 28, 2002, 4:03 PM)

 
 


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

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