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
2279
s s
September 17, 2020 02:48AM
632
s s
September 17, 2020 08:26PM
415
s s
September 19, 2020 08:20PM
Re: Lost connection to MySQL server during query
460
s s
September 20, 2020 08:02PM
403
s s
September 21, 2020 03:50AM


Sorry, you can't reply to this topic. It has been closed.

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.