Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91085 - dev-perl/DBD-mysql-2.9003 error executing queries
Summary: dev-perl/DBD-mysql-2.9003 error executing queries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-01 15:03 UTC by Georges Toth
Modified: 2005-05-02 04:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georges Toth 2005-05-01 15:03:04 UTC
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
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-05-02 01:34:58 UTC
Can we get some (simple) sample code for this? Will at least help us isolate the problem and send upstream if needed. Thanks!
Comment 2 Georges Toth 2005-05-02 04:18:43 UTC
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.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-05-02 04:37:13 UTC
Not a problem. You had me all excited though - the chance to have found a bug instead of hearing about them for a change :)