Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBI error question

Status
Not open for further replies.

cmarchman

Programmer
Jun 18, 2004
56
US
I've got a program that is operating as it should, with one exception:

When the script completes I receive the following error;

Driver has not implemented the disconnect_all method. at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 575
END failed--call queue aborted.

Can anyone explain this error, and how to correct it or get it so that it will not show up?

Thanks,


cmarchman
 
Without wanting to wind you up by stating the obvious - it means that the DBD, the database driver you're using, hasn't implemented the disconnect_all method (routine) The DBI tries to call this method when it finishes so that it can ensure everything is cleaned up.

Which DBD (database) are you using?

Mike

To err is human,
but to really foul things up -
you require a man Mike.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
I'm using MySQL ver 11.18 Distrib 3.23.54, for pc-linux (i686).

I even looked into the DBI.pm file and noticed that the line for disconnect_all had single quotes around it. Is this a way to comment out the command? And if I remove the single quotes, does it take a full reboot of the system to read it in?

Thanks,

cmarchman
 
No, the single quotes around it are to do with the way it's called.

Is that the latest version of DBD::MySQL you have there? I notice that you're running Perl 5.6.1 - have you considered upgrading to the latest stable version?

As you're running linux you should be able to use the very nice ActiveState binary installation. Go have a look at
Mike

To err is human,
but to really foul things up -
you require a man Mike.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top