Reading from the stream has failed. .Net Connector 5.0.8
Posted by: james atherton
Date: January 06, 2009 05:28AM

I am using .Net connector 5.0.8 and get the error:

Exception Message:
Reading from the stream has failed.
Stack Trace:
at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

When our web application is unused for 8 hours, or less if we set the wait_timeout value in my.ini, we find that the first attempt to connect to the database fails, subsequent requests pass as if the first fail call initialises something enabling the later calls to connect.

One would have hoped they would have fixed this by now but 5 revisions later it is still around. Any help would be greatly appreciated.
I will see if this is logged as a bug.

Options: ReplyQuote


Subject
Written By
Posted
Reading from the stream has failed. .Net Connector 5.0.8
January 06, 2009 05:28AM


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.