An exception was raised when using a
TableInsertStatementobject to insert a string value containing special characters (- / \ % & =). (Bug #100314, Bug #31692694)
-
Previously, an application could set the
SslMode=noneconnection option to establish a classic MySQL protocol or X Protocol connection to a non-TLS/SSL enabled server. However, if an application attempted to establish an unencrypted connection and also submitted connection options related to TLS/SSL, Connector/NET determined that the combination of options was incompatible and raised an error. The options incompatible withSslMode=noneare:CertificateFile(Certificate File),CertificatePassword(Certificate Password),SslCa(Ssl-Ca),SslCert(Ssl-Cert),SslKey(Ssl-Key), andtlsversion(tls-version,tls version).To reduce the number of connection errors and to enhance the connection experience, Connector/NET now implements the following changes to connections:
The
SslMode=noneconnection-option value is deprecated (marked obsolete) and is replaced with theSslMode=disabledconnection-option value.Neither
SslMode=nonenorSslMode=disabledraises an error when combined with other TLS/SSL connection options.The restriction against submitting duplicated TLS/SSL connection options in the same connection string (or
ConnectionStringproperty) now is removed. Currently, .NET Framework imposes a restriction against using duplicateMySqlSslModevalues in traditional connection strings for X Protocol connections.
(WL #14828)
Connector/NET now supports an authentication method that is based on the Fast Identity Online (FIDO) standard. This new authentication method permits MySQL users to establish connections to a server by interacting with a device locally, rather than by providing a password (see Connector/NET Authentication). (WL #14871)
The
MySqlDataReader.GetFieldValue<T>method returned an exception for calls attempting to retrieve the value of aBINARYcolumn. (Bug #33781449, Bug #106244)The exception type that was returned by
MySqlConnection.Openif the call failed was changed fromMySqlExceptiontoAggregateExceptionin the Connector/NET 8.0.28 release. This fix restores the exception to the original type (MySqlException). (Bug #33781445, Bug #106242)When calling the
GetSchema("Procedure Parameters")method of aMySqlConnectionobject, the returned table included column names without any rows representing the collection. (Bug #33674814, Bug #105181)When comparing a date-time LINQ expression against a database date field, Connector/NET returned an invalid operation exception due to unavailable classes that are required for an application to filter using EF Core. (Bug #32965150, Bug #103436)
If a
SELECTstatement was formatted with new lines or tabs, then the related characters (\nand\t) were ignored during the query analysis and Connector/NET returned a syntax error. (Bug #21971751, Bug #78760)A primary key having a column or columns of type unsigned
BIGINT(unsigned 64-bit integer) was not supported when the table was used with theMySqlCommandBuilderclass to generate single-table commands. (Bug #105768, Bug #33650097)Although the
MySqlCommand.Clonemethod returned a copy of the current command, the contents of theMySqlCommand.Attributescollection (MySqlAttributeCollectionobject) were not copied to the cloned command. (Bug #105730, Bug #33613687)