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
2279
s s
September 17, 2020 02:48AM
Re: Lost connection to MySQL server during query
545
September 17, 2020 11:56AM
632
s s
September 17, 2020 08:26PM
415
s s
September 19, 2020 08:20PM
461
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.