4 messages in com.mysql.lists.win32Re: How in the world do you get DBD::...| From | Sent On | Attachments |
|---|---|---|
| Januski, Ken | 16 May 2002 14:58 | |
| Januski, Ken | 16 May 2002 15:46 | |
| Ewen Marshall | 17 May 2002 01:49 | |
| Januski, Ken | 17 May 2002 13:24 |
| Subject: | Re: How in the world do you get DBD::mysql installed?![]() |
|---|---|
| From: | Ewen Marshall (emar...@fransmaas.co.uk) |
| Date: | 05/17/2002 01:49:49 AM |
| List: | com.mysql.lists.win32 |
Ken,
What you should have done was changed to repository 1 (or PPM2 Repository). All you do is:
ppm> rep Repositories: 1. ActiveState PPM2 Repository * 2. ActiveState Package Repository ppm> rep 1 Repositories: * 1. ActiveState PPM2 Repository 2. ActiveState Package Repository ppm> search DBD-mysql Searching in repository 1 (ActiveState PPM2 Repository) 1. DBD-Mysql [1.2200] DBI driver for Mysql datasources 2. DBD-mysqlPP [0.03] Pure Perl MySQL driver for the DBI ppm>install DBD-Mysql
I had exactly the same problem last week :)
Rgds,
Ewen "Januski, Ken" wrote:
Thank Rod,
My problem has been that I've tried the method you mention below and I keep getting "package DBD-mysql not found". I keep adding repositories to ppm but still can't find the package.
I'm running the newest version of Active State perl so I don't think that's the problem. But finally I decided to give up on package management and try to manually put the contents of your zip file in the appropriate folders in Perl/site/lib. I did get far enough along that the perl script that needs DBI and DBD now seems to work. I'm not at all confident that I know what I am doing. It just that everytime perl -c complained about a missing file or module I moved it to what seemed like an appropriate place. That looks like it works but it I must say I don't have a whole lot of confidence about it.
That's part of the nature of my question. Everytime I try to get DBI/DBD for mysql working with Perl on w32 I run into these problems. I thought someone might have a better way. And obviously you do. Unfortunately it's just never worked for me.:-)!!
Thanks again,
Ken
-----Original Message----- From: Rod Morris [mailto:ro...@zmc.com] Sent: Thursday, May 16, 2002 6:16 PM To: Januski, Ken Subject: Re: How in the world do you get DBD::mysql installed?
It should be simple. I use this method from the install.html:
ActivePerl offers a PPM archive of DBD::mysql. All you need to do is typing
ppm install DBI install DBD-mysql
This assumes that you have Active perl 5.x, I'm running 5.6.1. I attached the mySQL dbi that this works with.
Good luck
At 05:58 PM 5/16/2002 -0400, you wrote:
I'm wondering if anyone knows of a method that takes less than 24 hours to install DBD::mysl for perl interaction with mySQL. Every time I try this I spend hours having both PPM and perl -MCPAN -e shell "install DBD::mysql" fail. I'm trying to do this on W2K. I know it CAN be done. I'm just not sure why it should be so hard or if there's an easier way that I'm unaware of. I'm writing this while I let PPM scour the world for it.
Thanks for any info.
ken
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail win3...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail win3...@lists.mysql.com instead.
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail win3...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail win3...@lists.mysql.com instead.




