Re: DBD::mysql for Windows XP Professional
Haidong Ji <[email protected]> Sat, 28 Feb 2009 08:38:56 -0600
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Andy, Try install DBI first. I wrestled with installing this on my Windows XP machine, and had trouble initially, although I don't recall seeing the exact error message you had. I even downloaded the source code, fiddled with MAKE file and include header file, without success. I then uninstalled ActiveState Perl, and put strawberry Perl on it, same error results. Finally, I did the DBI install, and DBD install was successful. I suspect had I done the same thing under ActiveState, it would have succeedded as well. So try DBI first and see what happens. Haidong "Alex" Ji http://www.HaidongJi.com/tech On Thu, Feb 26, 2009 at 10:36 AM, Wm Mussatto <[email protected]> wrote: > On Wed, February 25, 2009 12:38, Andy wrote: > > Hi, > > > > > > > > I am running Perl (please see result of "perl -v" at the end of this > > e-mail). > try install DBD-mysql seemed to work for me. The key is the '::' is > replaced by '-' when you do the stuff under ppm > > > > I am using the following version of MySQL: > > > > Server version: 5.1.31-community MySQL Community Server (GPL) > > > > > > > > I would like to be able to connect to the database from a perl script. > > > > > > > > I have checked both the CPAN website and the ActiveState perl website, > and > > both lead me into the same difficulties, namely: > > > > > > > > c:\test> > > > > c:\test> set http_proxy=http://myproxy.com:8080/ > > > > > > > > c:\test> > > > > c:\test> ppm install DBD::mysql > > > > ppm install failed: Can't find any package that provides DBD::mysql > > > > > > > > c:\test> ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd > > > > ppm install failed: 500 read failed: Unknown error > > > > > > > > Can you please tell me where to find the needed module and how to install > > it? > > > > > > > > Thanks very much. > > > > Andy Nicastro > > > > > > > > > > > > c:\test> perl -v > > > > > > > > This is perl, v5.10.0 built for MSWin32-x86-multi-thread > > > > (with 5 registered patches, see perl -V for more detail) > > > > > > > > Copyright 1987-2007, Larry Wall > > > > > > > > Binary build 1004 [287188] provided by ActiveState > > http://www.ActiveState.com > > > > Built Sep 3 2008 13:16:37 > ------ > William R. Mussatto > Systems Engineer > http://www.csz.com > 909-920-9154 > > > -- > MySQL Perl Mailing List > For list archives: http://lists.mysql.com/perl > To unsubscribe: http://lists.mysql.com/[email protected] > >