Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1992 Doesn't recognize DBD::mysql ?

1.180
closed
Jamie Cameron
5
2005-03-16
2005-03-15
Otto
No

At the bottom of MySql module there is a warning : "The
Perl module DBD::mysql is not installed on your system"

I clicked the link below it and followed the steps needed
for the installation. I can see it in "Perl Modules" section
as "DBD::mysql 2.9004". And Module file
is /usr/local/lib/perl5/site_perl/5.8.2/mach/DBD/mysql.pm

But I still see the same warning even after rebooting.
Webmin's MySql module says it's not installed... But I
can execute SQL, view table data properly.

I'm on FreeBSD 4.10

Discussion

  • Jamie Cameron
    Jamie Cameron
    2005-03-15

    Logged In: YES
    user_id=129364

    If you run the command
    perl -e 'use DBD::mysql'
    in Webmin's Command Shell module, does it report any error
    message?

     
  • Otto
    Otto
    2005-03-16

    • status: open --> closed
     
  • Otto
    Otto
    2005-03-16

    Logged In: YES
    user_id=1240017

    Yes, I got the following error, and I thought I should reinstall
    DBD::mysql and did so. Now " perl -e 'use DBD::mysql' "
    doesn't give an output, I think that's what's expected. And the
    warning is not displayed in the module anymore... Thank you.

    Can't
    load '/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/DBD/mysql/
    mysql.so' for module DBD::mysql: Shared
    object "libmysqlclient.so.12" not found
    at /usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
    at -e line 1
    Compilation failed in require at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.