469,655 Members | 1,836 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,655 developers. It's quick & easy.

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC

I am attempting to build a Bugzilla server on OS X.

All of this is new to me, working with the Perl, MySQL, and Bugzilla,
so I have been
banging my head often.
Software error:

When I run the bugzilla 'checksetup.pl' file, I get the following:

Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.52
Checking for CGI (v2.93) ok: found v2.98
Checking for Data::Dumper (any) ok: found v2.12
Checking for Date::Format (v2.21) ok: found v2.22
Checking for DBI (v1.36) ok: found v1.38
Checking for DBD::mysql (v2.1010) ok: found v2.9003
Checking for File::Spec (v0.82) ok: found v0.86
Checking for File::Temp (any) ok: found v0.13
Checking for Template (v2.08) ok: found v2.13
Checking for Text::Wrap (v2001.0131) ok: found v2001.0929

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.16
Checking for Chart::Base (v1.0) ok: found v2.3
Checking for XML::Parser (any) ok: found v2.34
Checking for GD::Graph (any) ok: found v1.43
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (any) ok: found v0.9.5

Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for MySQL Server (v3.23.41) ok: found v4.0.20-standard

Populating duplicates table...


All appears to be ok.

When I connect to the server I get the Bugzilla page, with no problem.
However, when I click on a link
(such as "Search existing bug reports", I get the following:


install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
contains: . /System/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
/Network/Library/Perl/5.8.1 /Network/Library/Perl) at (eval 10) line
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at Bugzilla/DB.pm line 146
The statement "...Can't locate DBD/mysql.pm..." stands out. I
searched for the "mysql.pm" file and cannot locate it on the system.

I would appreciate any help that can be provided.
Jul 20 '05 #1
0 8714

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by john townsley | last post: by
5 posts views Thread by HugoFromBOSS | last post: by
5 posts views Thread by scorpionbilli | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.