MySQL Forums
Forum List  »  Connector/C++

Re: Lost connection to MySQL server during query
Posted by: Peter Brawley
Date: September 17, 2020 11:56AM

I doubt goto from a catch block is sound. Did you try inline code?

"MySQL went away" usually indicates an error or timeout, what does the mysql error log say?

What happens when you give it an ultra-simple transaction eg "select 1"?

What happens when your try your transaction in the mysql client?

Options: ReplyQuote


Subject
Views
Written By
Posted
402
s s
September 17, 2020 02:48AM
Re: Lost connection to MySQL server during query
118
September 17, 2020 11:56AM
161
s s
September 17, 2020 08:26PM
114
s s
September 19, 2020 08:20PM
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.