Suggestions for troubleshooting this Perl DBD :: mysql error message?

"Issuing rollback () due to DESTROY without explicitly disabling () DBD :: mysql :: db"

Unable to find bug related documentation, any suggestions?

+3
source share
2 answers

Your db connection, usually $dbhin plain DBI code, must be disconnected before it goes out of scope. See DBI # disconnect and try putting "dbi disconnect" in google / etc for a discussion of related issues.

+7
source

, commit/rollback (i.e $dbh->commit;) insert/update/delete SQL-, {Autocommit=>0} . , , $dbh->disconnect,

+5

Source: https://habr.com/ru/post/1795305/


All Articles