Menu

#96 Can't access system database

open
nobody
Database (23)
5
2004-10-07
2004-10-07
Anonymous
No

Hi,
I got the following error, when I try to access system
database!

Error - Perl execution failed

Can't use an undefined value as a HASH reference at
/usr/lib/perl5/DBD/mysql.pm line 113.

bye,
Christian

Discussion

  • NetVicious

    NetVicious - 2005-05-23

    Logged In: YES
    user_id=555232

    Same bug here. Someone knows a solution?

     
  • NetVicious

    NetVicious - 2005-05-23

    Logged In: YES
    user_id=555232

    I found a solution using Google. Enter in the config of the
    nagmin module and disable the use of dbi. We should wait for
    a new nagmin version without this bug for enable it.

     
  • Phil Randal

    Phil Randal - 2006-02-11

    Logged In: YES
    user_id=140673

    The solution's given over at http://lists.mysql.com/perl/2570

    You need to add

    $attrhash ||= {};

    before line 112 in mysql.pm

    This bug's present in versions 2.9003 and 2.9004 AFAIK, and
    maybe more.

    Phil

     
  • Phil Randal

    Phil Randal - 2006-02-11

    Logged In: YES
    user_id=140673

    I've logged a bug report against DBD::MySQL here:

    http://bugs.mysql.com/bug.php?id=17323

    Verified fixed with the suggested one line change.

    Phil

     

Log in to post a comment.