Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2011

    Unanswered: DBD::mysql is installed but still error Can't locate DBD/ 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/ 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.

  2. #2
    Join Date
    Mar 2004
    That's a PERL package so you should ask in a PERL forum for help with it.

  3. #3
    Join Date
    Jul 2011
    OK. I will.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts