[ic] DBD problem revisited

Patrick J. Walsh interchange-users@interchange.redhat.com
Fri Nov 16 20:12:01 2001


> > 66.74.46.220 75tC5bVt:66.74.46.220 - [16/November/2001:16:33:33 -0500]
> > dyna-q /~dyna-q/cgi-bin/cart.cgi/index.html Runtime error: connect
failed
> > (create) -- Undefined subroutine &DBD::mysql::db::_login called at
> > /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm line 131, <IN>
chunk
>                           ^^^^^^
>
> Sounds like your installation is a bit old.  You might want to check that.
> Or you might have another mysql.pm hanging around.  With linux, never
> go back, just keep current.

    What makes you think that it's old?  Perl is version 5.005_03, which I
believe is the latest.  And the DBD and DBI libraries were installed using
the -MCPAN parameter only a day ago.

    `slocate mysql.pm` returned two mysql.pm's that are installed outside of
home directories.

/usr/lib/perl5/site_perl/5.005/i386-linux/Bundle/DBD/mysql.pm
/usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm

    The bottom one is 2.1002, the top one is 2.0416.  However, the error
message says that it is using the one on the bottom.  Is there something
else that could be going wrong?  Or do I need to have the bundle updated?

..Patrick