You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Connection Idle Ping Time connection string option is still accepted, but has no effect.
If Connection Reset = False, MySqlConnection.Open will return a pooled connection (if one is available) without testing it for liveness (by pinging the server). This improves performance but may degrade reliability. (Connection Reset = True, which is the default, is still recommended for greatest reliability.)
If the server has closed the pooled connection, MySqlConnection.Open will succeed, but the first operation on that connection will fail. Command execution should be wrapped in a try/catch/retry loop to handle this scenario.
Breaking Change how option keys are serialized when retrieving the MySqlConnectionStringBuilder.ConnectionString property:
For example, User Id is now User ID, DefaultCommandTimeout is now Default Command Timeout, etc.
All existing connection strings are still valid, and all the previous aliases for connection string options are still accepted.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
MySqlBatch(experimental API) to match .NET 6.0 API changes.DateOnlyandTimeOnlystructs: Support the new BCLDateOnlyandTimeOnlystructs #963.ZLibStreamfor compression: Use ZLibStream for compression #957.X_OR_GREATERpreprocessor definitions: Use new OR_GREATER preprocessor symbols for version checks #958.MySqlBulkCopyAPI: Improve MySqlBulkCopy API #1012.ConnectionIdlePingTime: Don't ping when Connection Reset = false #1042.Connection Idle Ping Timeconnection string option is still accepted, but has no effect.Connection Reset = False,MySqlConnection.Openwill return a pooled connection (if one is available) without testing it for liveness (by pinging the server). This improves performance but may degrade reliability. (Connection Reset = True, which is the default, is still recommended for greatest reliability.)MySqlConnection.Openwill succeed, but the first operation on that connection will fail. Command execution should be wrapped in a try/catch/retry loop to handle this scenario.MySqlConnectionStringBuilder.ConnectionStringproperty:User Idis nowUser ID,DefaultCommandTimeoutis nowDefault Command Timeout, etc.MySqlCommandBuilderandMySqlConversionException.netstandard1.3andnetcoreapp2.1target frameworks: Removenetstandard1.3support #1031, Removenetcoreapp2.1support #1067.ActivitySourcefor tracing: Add ActivitySource #1036.MySqlConnection.ProvideClientCertificatesCallback,MySqlConnection.ProvidePasswordCallback,MySqlConnection.RemoteCertificateValidationCallback: RDS/Aurora IAM Database Authentication and Connection Pooling #800, [New Feature] Passing Certificate in X509Certificate/X509Certificate2 format rather than physical paths #976.BigIntegeras parameter value: Support BigInteger parameter #1069.MySqlErrorCode: Add additional MySQL error codes #1048.MySqlError.Codeobsolete: Replace MySqlError.Code with ErrorCode #1011.ErrorCodeproperty instead.BackgroundConnectionResetHelper: Remove BackgroundConnectionResetHelper (used by DeferConnectionReset=false) #1013.MySqlConnectionStringBuilder.DeferConnectionResetis obsolete and will always be treated as if it'strue.[Category],[DefaultValue], and[Description]attributes to allMySqlConnectionStringBuilderproperties.DELIMITERis used in a SQL statement: Better exception ifDELIMITERis used #1010.MySqlConnectionStringBuilder.TryGetValue: MySqlConnectionStringBuilder does not implement ICustomTypeDescriptor correctly #1030.MySqlCommand.LastInsertedIdwhen executing multiple commands: MySqlCommand.LastInsertedId #1026.ObjectDisposedExceptionthat could be thrown when a connection timeout occurred.This discussion was created from the release 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions