After upgrading to v2.9003, all my perl scripts were broken. None were able to make a DB conenction...they all died with the following error: DBD::mysql::st execute failed Error: MySQL server has gone away Changing some values on the my.cnf didn't help. Turning on query-log, or stracing it, didn't help neither. Downgrading to dev-perl/DBD-mysql-2.1027, fixed the problem. So I guess this is really a bug in the perl-module. Reproducible: Always Steps to Reproduce: 1.emerge dev-perl/DBD-mysql-2.9003 2.make a DB connection 3.do a query Actual Results: Unsuccessful DB query Expected Results: Successful DB query
Can we get some (simple) sample code for this? Will at least help us isolate the problem and send upstream if needed. Thanks!
After looking more into this problem, I just found that in some scripts i did a DB-disconnect, too early. Changing that fixed those scripts. But that means that the disconnect didn't work correctly in earlier versions ?? weird... Also, I have a binary script, where the same problem occured, and without changing anything (well, I can't), the problem went away too. Sorry for posting this... I should have checked it more in detail before posting.
Not a problem. You had me all excited though - the chance to have found a bug instead of hearing about them for a change :)