Re: MySQL .NET connector Datareader connection closing
Posted by: Reggie Burnett
Date: October 03, 2004 12:30PM

To close the underlying connection (and this is the same as with SqlDataReader), you have to use the CommandBehavior.CloseConnection behavior when you execute the reader.

Also, connection pooling is enabled by default so even calling connection.Close() will not terminate the connection to the database. If you do not want connection pooling, then set pooling=false on your connection string.

And, yes, connection pooling is included and active.

Options: ReplyQuote

Written By
Re: MySQL .NET connector Datareader connection closing
October 03, 2004 12:30PM

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.