in reply to DBI not installed

Even though moritz did a fine job telling you what your problem is, you seem not to understand what he's saying. So Let me try again.

Despite your node title, DBI itself appears to be installed fine. DBI is the root module for database support. In fact, it's DBI that is giving you the message of which drivers are installed.

Now, there are a lot of database drivers for DBI, and they're all classified under the common prefix DBD. That is DBD, with a "D", not with an "I".

You do have several drivers, including one for Oracle, one for SQLite and even DBD::mysqlPP, which is a Pure Perl driver for Mysql. Maybe that's the one you installed by accident? And that is why you can see a "DBD" folder: that's where all those DBD drivers are installed.

Now, one that is missing, is the normal driver for Mysql, and that is DBD::mysql. Notice the case. I'm quite certain that if you try to install that, and pick the correct one this time, it'll work.

BTW you do have the Mysql client software on your PC, I hope? Things might not install properly if you don't have it. I think DBD::mysql depends on a DLL in that package.

Replies are listed 'Best First'.
Re^2: DBI not installed
by Anonymous Monk on Jun 08, 2008 at 21:43 UTC
    Hello Bart, when I used >ppm install DBD::mysql this is the message that iI got: Downloading ActiveState Package Repository packlist...not modified.No missing packages to install. What do you think it is? I know what modules I want and I'm pretty much aware of what I installed,and wondering why it's not working?
      Downloading ActiveState Package Repository packlist...not modified.No missing packages to install.

      Yes, I get the same (and DBD::mysql does not get installed).

      Seems that ActiveState don't have a ppm for DBD::mysql, so you'll need to grab it from one of the other repositories - eg, for perl 5.10:
      ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd
      or for perl 5.8:
      ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd
      Cheers,
      Rob
        That's exactly how I did it a month or so ago, and it worked fine. If you read the CPAN page for DBD-Mysql, it tells you how the win32 install should go: http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm#WIN32_INSTALLATION
        Ooh, that is annoying behavior of PPM.

        What I often do, is first check availability of modules using Kobes' search. At the bottom of the module info page, there's a list of PPM repositories that carry your module, and what version it is at.

        Next, I tend to add the most commonly found interesting repositories to the repository list in PPM. I find the generally most interesting repositories are Uwinnipeg (Kobes'), Bribes, Trouchelle, TCool (you must make sure you use the correct URL for your Perl version).

        Then, installing the module in the normal way is no longer a problem.

        Repeat, if you find you still have a problem with installing another module.

        ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd I used that.It's same error. But, ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd worked great. It is working now... Thanks Rob,Thats a relief.