MySQL Forums
Forum List  »  Perl

DBD::mysql is installed but still error Can't locate DBD/mysql.pm in @INC
Posted by: Novice User
Date: August 17, 2011 07:53AM

DBD::mysql is installed successfully please see (1) below.
But still i get error as given in (2) below:
Please help to resolve this error

Thank you very much

(1) Successful installation message
[user@mysystem]$ perl -MCPAN -e 'install DBD::mysql'
CPAN: Storable loaded ok (v2.19)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 17 Aug 2011 04:32:32 GMT
DBD::mysql is up to date (4.019).

(2) Error message:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . ) at (eval 15) line 3.
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, Gofer, Proxy, SQLite, Sponge.

Options: ReplyQuote


Subject
Written By
Posted
DBD::mysql is installed but still error Can't locate DBD/mysql.pm in @INC
August 17, 2011 07:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.