NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #241 most downloaded on NuGet
A truly async MySQL ADO.NET provider, supporting MySQL Server, MariaDB, Amazon Aurora, Azure Database for MySQL, Google Cloud SQL, and more.
Latest stable
3.0.0
Last release 8 days ago
12 Nov 2026
Release timing varies
gaps range from 3 weeks to 12 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
106 versions withdrawn
withdrawn after publishing
127 years old
266 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Breaking The default value for the UseAffectedRows connection string option has changed from true to false. This provides better compatibility with Co
UseAffectedRows connection string option has changed from true to false. This provides better compatibility with Connector/NET's defaults and also with other ADO.NET libraries: #600.
ExecuteNonQuery (it will now return the number of rows matched by the WHERE clause for UPDATE statements, instead of the number of rows whose values are actually changed), or add UseAffectedRows=true to your connection string.MySqlException serializable: #601.MySqlException.Number to MySqlErrorCode.UnableToConnectToHost when connecting fails: #599.MySqlException.Data dictionary: #602.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix InvalidCastException in MySqlDataReader.GetDateTime when AllowZeroDateTime=True: #597.
InvalidCastException in MySqlDataReader.GetDateTime when AllowZeroDateTime=True: #597.Add net471 as target platform: #595.
net471 as target platform: #595.IDbColumnSchemaGenerator interface in netcoreapp2.1 package.Potentially breaking Change default connection collation from utf8mb4_bin to utf8mb4_general_ci: #585.
utf8mb4_bin to utf8mb4_general_ci: #585.mysql.proc when available: #569.
System.Transactions support:
UseXaTransactions connection string option to opt out of XA transactions (equivalent to Connector/NET behaviour): #254.MySqlConnection objects within the same transaction will reuse the same server session: #546.MySqlConnection.InfoMessage event: #594.ICloneable on MySqlCommand: #583.NullReferenceException when attempting to invoke a non-existent stored procedure.utf8 if utf8mb4 isn't available.ConnectionLifeTime: #586.MySqlDataReader.GetStream: #592.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix NullReferenceException in GetSchemaTable: #580.
NullReferenceException in GetSchemaTable: #580.Support MariaDB GSSAPI authentication: #577.
Debug level.Support MariaDB GSSAPI authentication: #577 .
Log received error payloads at Debug level.
Thanks to Vladislav Vaintroub for contributions to this release.
Fix missing InnerException on MySqlConnection created for a timeout: #575.
InnerException on MySqlConnection created for a timeout: #575.Fix CryptographicException when loading a PFX certificate file: #574.
CryptographicException when loading a PFX certificate file: #574.Implement ICloneable on MySqlParameter: #567.
MySqlParameter.Clone.ICloneable on MySqlParameter: #567.MySqlParameterCollection.CopyTo.Add MySqlParameter.Clone .
Implement ICloneable on MySqlParameter : #567 .
Implement MySqlParameterCollection.CopyTo .
Add logging for cached procedures.
Thanks to Jorge Rocha Gualtieri for contributions to this release.
Fix error parsing SQL parameters: #563.
Implement MySqlConnection.GetSchema("ReservedWords"): #559.
MySqlConnection.GetSchema("ReservedWords"): #559.ReadOnlySpan<byte> when deserialising payloads.Implement MySqlConnection.GetSchema("ReservedWords") : #559 .
Optimisation: Use ReadOnlySpan<byte> when deserialising payloads.
Thanks to Federico Sasso for contributions to this release.
MySqlCommand.Prepare will cache the prepared command until the connection is reset.
MySqlCommand.Prepare will cache the prepared command until the connection is reset.MySqlCommand.Prepare, especially when preparation is unnecessary.MySqlParameterCollection (accessed via MySqlCommand.Parameters) for better performance when command parameters aren't used.GC.SuppressFinalize to improve performance when various objects (derived from Component) aren't properly disposed.Add Application Name connection string setting: #547.
Application Name connection string setting: #547.ConnectionString to be set on a closed connection: #543.NotSupportedException with SSL connections under .NET Core 2.1: #509.Add first version of prepared commands: #534.
IgnorePrepare connection string option defaults to true and must be set to false to use prepared commands.CertificateStore and CertificateThumbprint connection string options: #536.ChangeDatabase had been called: #515.TINYINT(1) UNSIGNED as bool: #530.Fix bug (introduced in 0.42.2) that caused extremely high memory usage: #528.
DATE columns with invalid DateTime values to be read as MySqlDateTime: #529.Fix bug that ignored last result set returned from a stored procedure if it was empty: #524.
Fix NotImplementedException reading a GEOMETRY column as byte[]: #70.
NotImplementedException reading a GEOMETRY column as byte[]: #70.TIME parsing: #518.ArgumentException preparing a SQL statement: #520.Add AllowZeroDateTime connection string option: #507.
AllowZeroDateTime connection string option: #507.MySqlDateTime type (to allow invalid DateTime values to be represented).Add GuidFormat connection string option (for better compatibility with MySQL 8.0 `UUID_TO_BIN`): #497.
GuidFormat connection string option (for better compatibility with MySQL 8.0 UUID_TO_BIN): #497.InteractiveSession connection string option: #510.PipeName connection string option: #454.ReadOnlySpan<byte>, Utf8Formatter, and Utf8Parser: #426.netcoreapp2.1 package.netstandard2.0 package.MySqlParameter.Precision and Scale under netstandard1.3.Allow CACertificateFile to contain multiple (concatenated) certificates: #499.
CACertificateFile to contain multiple (concatenated) certificates: #499.IndexOutOfRangeException in ValidateRemoteCertificate: #498.Fix caching_sha2_password authentication for MySQL Server 8.0.11 release: #489.
caching_sha2_password authentication for MySQL Server 8.0.11 release: #489.
Reverted ConnectionReset=true optimisation (added in 0.40.0) that was incompatible with Aurora: #486.
ConnectionReset=true optimisation (added in 0.40.0) that was incompatible with Aurora: #486.Always use new DateTimeKind setting: #484.
DateTimeKind setting: #484.Add DateTimeKind connection string setting: #479.
DateTimeKind connection string setting: #479.ArgumentException for SslProtocols.None: #482.IOException being thrown at startup: #475.OpenTcpSocketAsync: #476.MySqlConnection.Open when ConnectionReset=true (default): #483.Microsoft.Extensions.Logging.Abstractions.Add IgnoreCommandTransaction connection string setting: #474.
IgnoreCommandTransaction connection string setting: #474.Add Serilog logging provider: #463.
IDbDataParameter on MySqlParameter: #465.MySqlDataReader.GetChar: #456.MySqlDataReader.GetFieldType(string) overload: #440.Add Serilog logging provider: #463 .
Add NLog logging provider: #470 .
Implement IDbDataParameter on MySqlParameter : #465 .
Implement MySqlDataReader.GetChar : #456 .
Add MySqlDataReader.GetFieldType(string) overload: #440 .
Fix a connection pooling session leak in high contention scenarios: #469 .
Fix overhead of extra connection pools created in a race: #468 .
Thanks to Marc Lewandowski and Rolf Kristensen for contributions to this release.
Serialize enum parameter values as strings when MySqlParameter.MySqlDbType is set to MySqlDbType.String or VarChar: #459.
MySqlParameter.MySqlDbType is set to MySqlDbType.String or VarChar: #459.ConnectionIdlePingTime (added in 0.37.0) to be explicitly set to a non-zero value to avoid pinging the server.Support TLS 1.2 on Windows clients: #458.
ConnectionIdlePingTime connection string setting (Experimental): #461.caching_sha2_password.MySqlException for invalid port number in connection string.Reap connections more frequently if ConnectionIdleTimeout is low: #442.
ConnectionIdleTimeout is low: #442.ArgumentOutOfRangeException when command times out: #447.Breaking Require CertificateFile to include private key (for mutual authentication): #436.
CertificateFile to include private key (for mutual authentication): #436.MySqlDataReader.GetX(string) overloads: #435.MySqlDataReader.GetTimeSpan: #438.MySqlDataReader.GetUInt16, GetUInt32, GetUInt64: #439.MySqlConnection.State to ConnectionState.Closed when the connection fails: #433.-- comments in SQL: #429.SocketException in MySqlException: #434.Add MySqlCommandBuilder.DeriveParameters: #419.
MySqlCommandBuilder.DeriveParameters: #419.MySqlConnection.Ping and MySqlConnection.PingAsync: #260.Fix exception when a stored procedure returns NULL for an OUT parameter: #425.
NULL for an OUT parameter: #425.Add overloads of MySqlParameterCollection.Add: #424.
MySqlParameterCollection.Add: #424.MySqlCommand.LastInsertedId: #422.InvalidOperationException: #423.Implement MySqlCommandBuilder: #303
MySqlCommandBuilder: #303Microsoft.Extensions.Logging provider: #418MySqlTransaction.Connection property that returns an object typed as MySqlConnectionCLIENT_SESSION_TRACK protocol option: #323MySqlTransaction.Connection when transaction is committed: #61
Breaking Throw InvalidCastException instead of MySqlException from MySqlDataReader.GetGuid.
InvalidCastException instead of MySqlException from MySqlDataReader.GetGuid.
MySqlParameter.ParameterName and .SourceColumn; they now follow MSDN documentation.ObjectDisposedException when a connection is returned to the pool: #411.NotSupportedException when MySqlParameter.Value is set to a char: #412.Add missing .ConfigureAwait(false)
.ConfigureAwait(false)
Tasks returned from async methods.Implement logging framework: #390.
MySqlDataAdapter: #183.AdoNet.Specification.Tests test suite to validate implementation.MySqlConnector.Logging.log4net, that adapts MySqlConnector logging for log4net.Implement logging framework: #390 .
Add new project, MySqlConnector.Logging.log4net , that adapts MySqlConnector logging for log4net.
Implement MySqlDataAdapter : #183 .
Get correct connection ID for Azure Database for MySQL.
Use AdoNet.Specification.Tests test suite to validate implementation.
Implement more MySqlParameter constructor overloads: #402
MySqlParameter constructor overloads: #402
MySqlParameter.Precision and MySqlParameter.Scale
MySqlDataReader.GetCharsMySqlDataReader.DepthNullReferenceException in MySqlDataReader when reader is disposedInvalidCastException (instead of MySqlException) from MySqlDataReader.GetGuid if column is NULLInvalidOperationException (instead of MySqlException) from MySqlConnection.ConnectionString setter if connection is openArgumentException (instead of InvalidOperationException) from MySqlConnectionStringBuilder for invalid option namesFix return value of ExecuteScalar to be the first column from the first row of the first result set.
ExecuteScalar to be the first column from the first row of the first result set.ExecuteNonQuery to correctly return -1 for SELECT statements.NextResult returns true for a trailing comment in a SQL statement.InvalidOperationException if MySqlCommand.CommandText is set while the command is active.InvalidOperationException (instead of MySqlException) if a MySqlCommand is executed while there is an open reader.InvalidOperationException from MySqlCommand.Prepare when preconditions aren't met.Breaking Throw InvalidOperationException when MySqlCommand.Connection can't be set (instead of MySqlException).
InvalidOperationException when MySqlCommand.Connection can't be set (instead of MySqlException).InvalidOperationException from MySqlCommand.Prepare when preconditions aren't met.NullReferenceException when MySqlCommand.Connection isn't set (now correctly throws InvalidOperationException).Fix InvalidOperationException if MySqlBulkLoader is used inside a transaction (again): #300
InvalidOperationException if MySqlBulkLoader is used inside a transaction (again): #300MySqlBulkLoader.Transaction property (added in 0.24.0); MySqlBulkLoader will always use the ambient transaction, if any. This matches Connector/NET API & behaviourImplement server load balancing with new LoadBalance connection string setting: #226
MinimumPoolSize: #85LoadBalance connection string setting: #226EndOfStreamException in MySqlException when connecting fails: #388StackOverflowException when reading large BLOBs asynchronouslyTransaction on new MySqlCommand: #389MySqlConnection.Cancel when connection is broken: #386Breaking Remove BufferResultSets connection string option: #378
BufferResultSets connection string option: #378Fix exception in MySqlTransaction.Dispose if the underlying connection is closed or faulted: #383
MySqlTransaction.Dispose if the underlying connection is closed or faulted: #383Remove System.Runtime.InteropServices.RuntimeInformation dependency on full framework: #381
System.Runtime.InteropServices.RuntimeInformation dependency on full framework: #381Fix an exception if MySqlDataReader.GetOrdinal was called before Read: #379
MySqlDataReader.GetOrdinal was called before Read: #379Work around Amazon Aurora DateTime conversion issue: #364
DateTime conversion issue: #364NotSupportedException in MySqlParameter: #367MySqlErrorCode enum values (to reduce library size).Work around Amazon Aurora DateTime conversion issue: #364 .
Fix NotSupportedException in MySqlParameter : #367 .
Breaking Remove a number of MySqlErrorCode enum values (to reduce library size).
Thanks to Duane Gilbert and Naragato for contributions to this release.
Fix information disclosure vulnerability related to LOAD DATA LOCAL INFILE: #334
MySqlConnectionStringBuilder.DefaultCommandTimeout and MySqlCommand.CommandTimeout with a default of 30 seconds: #67
CommandTimeout.MySqlDbType and MySqlCommand.MySqlDbType: #362
MySqlDbType.Bool to represent a TINYINT(1) column.ProviderType in GetColumnSchema/GetSchemaTable.MySqlConnection.GetSchema: #361LOAD DATA LOCAL INFILE: #334Allow the auth plugin name in the initial handshake to be EOF-terminated: #351
GetColumnSchema/GetSchemaTable: #354NumericPrecision for decimal(n,0) columns: #356Support caching_sha2_password authentication for MySQL 8.0: #329.
caching_sha2_password authentication for MySQL 8.0: #329.MySqlDataReader.HasRows: #348.Support caching_sha2_password authentication for MySQL 8.0: #329 .
Fix inconsistent return value of MySqlDataReader.HasRows : #348 .
Thanks to Drake103 for contributions to this release.
Implement MySqlDataReader.GetColumnSchema: #182.
MySqlDataReader.GetColumnSchema: #182.MySqlDataReader.GetSchemaTable: #307,Implement MySqlDataReader.GetColumnSchema : #182 .
Implement MySqlDataReader.GetSchemaTable : #307 .
Support MySQL Server 8.0.3 and MariaDB 10.2 collations: #336 , #337 , #338 .
Reduce allocations to improve performance: #342 , #343 .
Thanks to Alex Lee and Dave Dunkin for contributions to this release.
Fix hang closing connection with ClearDB on Azure: #330.
Fix hang closing connection with ClearDB on Azure: #330 .
Thanks to Marcin Badurowicz for contributions to this release.
Fix overly-broad exception handler introduced in 0.26.3.
Fix HasRows incorrectly returning false after all rows have been read: #327.
HasRows incorrectly returning false after all rows have been read: #327.EndOfStreamException when reusing a pooled connection with Amazon Aurora.Pooling=True;Connection Reset=true); see #258.System.* dependencies to 4.3.0 for .NET 4.5 and .NET 4.6 packages.One column per quarter.