MySQL Forums
Forum List  »  Connector/C++

Re: Lost connection to MySQL server during query
Posted by: s s
Date: September 20, 2020 08:02PM

I've tried adjust max_allowed_packet to 128M, but it still happen.
The transaction works will in the mysql client program, and it doesn't happen every time in my program, only when i give some presure(thr qps is about 400).
What really confuse me is that why this only happened in transaction, if i using several separate sql instead of transaction, it won't happening again. But I can't find any bug in my transaction code.

Options: ReplyQuote


Subject
Views
Written By
Posted
402
s s
September 17, 2020 02:48AM
161
s s
September 17, 2020 08:26PM
114
s s
September 19, 2020 08:20PM
Re: Lost connection to MySQL server during query
103
s s
September 20, 2020 08:02PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.