MySQL Forums
Forum List  »  Connector/C++

Re: Lost Connection during Query Error
Posted by: Andrii Nikitin
Date: August 02, 2012 09:22AM

do you always get this error or just occasionally?
maybe server gets restarted fo some reasons - did you check server error log?
do you cache connection or always allocate new like:

con = driver->connect("tcp://127.0.0.1:3306", "user", "password");
stmt = con->createStatement();

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Lost Connection during Query Error
1535
August 02, 2012 09:22AM


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.