Aug 18, 2011, 3:55 AM
Post #1 of 3
DBD::mysql is installed but still error Can't locate DBD/mysql.pm in @INC
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
(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.