in reply to DBD::mysql 4.003 installation failed

Please put <code>...</code> tags around your post so we can read it. Do you have the mysql server installed? You need to install it before installing the client (DBD::mysql). Did you read the readme for DBD::mysql? You may need to set some environment vars so it knows where to find the server in order to run the tests.

update ah, ok, now that Corion put code tags I can see that not having the mysql server is definitely your problem. If it's not installed (try "which mysql" to see if it's installed) then you can probably use yum to install it.

Replies are listed 'Best First'.
Re^2: DBD::mysql 4.003 installation failed
by ait (Hermit) on Jul 05, 2007 at 13:31 UTC
    I am usually a big fan of installing most things through CPAN. Nevertheless, if you are installing an application like Bugzilla, you should always try to install the binary versions of the Perl Libs as distributed by your distro, and only if those should not work, should you try to do it yourself (especially for modules that need compiling).

    If you would have installed the binary dbd for mysql, the rpm dependencies should have warned about mysql not being installed.

    I use Debian and they have a clear Perl Policy, don't know about RH. But derived from my experience, it is best to install the binary packages from your distro for _most_ of your Perl needs, and only use cpan for special versions needs or for special purposes, like Catalyst development for example.

    Best, Alejandro