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

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