Connection failing after being idle for several hours
Posted by: Steve Klett
Date: May 21, 2007 09:10AM

Hello all,

I'm using connector version 5.0.3

I have noticed in the last 3-4 weeks that if my desktop application is left idle for several hours (not sure exactly how long) and I try to perform an operation that will require a DB hit, I get the following exception:

"MySql.Data.MySqlClient.MySqlException: Connection unexpectedly terminated."

I'm using an OR/Mapper called EntitySpaces and I setup my connection string like so:

connectionString="Server=xxx.xxx.xxx.xxx;Database=xxx;Uid=xxx;Pwd=xxx"

Pretty standard...

Anyone have any ideas? Is there anything that was changed in version 5.0.3 that could cause something like this?

Thanks for reading and for any help you can offer,
Steve

Options: ReplyQuote


Subject
Written By
Posted
Connection failing after being idle for several hours
May 21, 2007 09:10AM


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.