in reply to prob with DBD::mysql on Mac OS X

uh. finally i found the time to care about this old prob. and finally i found a way getting this child walking (how do you say in english?).

- i removed mysql completely and set it up new. (as described here.) i'm not sure, whether this was needed at all.
- next i manually installed DBI
- next, and maybe most important step, i did not fetch DBD but the whole msql-mysql-modules-1.2219-package. i did it manually also, but did not have any difficulties with makefile, make, make test, make install.

that's it. now it's up and running smoothly. very nice.
thanks guys for your (mental) support.

Replies are listed 'Best First'.
Re^2: prob with DBD::mysql on Mac OS X
by bradcathey (Prior) on Jul 22, 2004 at 02:02 UTC
    After many frustrating failures at installing DBD::mysql on my mac OS 10.3, I just performed the third of the 3 mentioned steps (that is, installing "msql-mysql-modules-1.2219") and bingo! First time! ++ to zetetes! Thank you!

    Update: Just found this piece by Googling:
    Should you need to install DBD::mysql on Panther, here's a few tips yo +u might find helpful. First: DBD::mysql installation will likely fail + if you try to do it using the CPAN installer because it won't be con +figured with your database settings. You'll need to manually install +it. Get it from CPAN here: DBD-mysql-2.9003 . To create the Makefile you'll need to pass it your database's username + and password: perl Makefile.PL --testuser=usename --testpassword=password Next you'll need to add the following step (thanks to Casey West): perl -pi -e's/MACOSX/env MACOSX/' Makefile I also had to sudo make install which makes the whole process like so: perl Makefile.PL --testuser=username --testpassword=password perl -pi -e's/MACOSX/env MACOSX/' Makefile make make test sudo make install

    —Brad
    "Don't ever take a fence down until you know the reason it was put up. " G. K. Chesterton