MySQL Blog Archive
For the latest blogs go to
MySQL Connector/NET 8.0.19 has been released

Dear MySQL users,

MySQL Connector/NET 8.0.19 is the latest General Availability release of
the MySQL Connector/NET 8.0 series. This version supports .NET Core 3.0
and the X DevAPI, which enables application developers to write code
that combines the strengths of the relational and document models using
a modern, NoSQL-like syntax that does not assume previous experience
writing traditional SQL.

To learn more about how to write applications using the X DevAPI, see For more
information about how the X DevAPI is implemented in Connector/NET, see
NuGet packages provide functionality at a project level. To get the
full set of features available in Connector/NET such as availability
in the GAC, integration with Visual Studio’s Entity Framework Designer
and integration with MySQL for Visual Studio, installation through
the MySQL Installer or the stand-alone MSI is required.

Please note that the X DevAPI requires at least MySQL Server version
8.0 or higher with the X Plugin enabled. For general documentation
about how to get started using MySQL as a document store, see

To download MySQL Connector/NET 8.0.19, see

Installation instructions can be found at

Changes in MySQL Connector/NET 8.0.19 (2020-01-13, General

     * Functionality Added or Changed

     * Bugs Fixed

Functionality Added or Changed

     * Connector/NET supports TLS protocol versions TLSv1,
       TLSv1.1, TLSv1.2, and TLSv1.3. A new connection-string
       option, tlsversion, permits the restriction of a
       connection to a single version or to a list with any
       combination of the four supported TLS versions (see
       Options for Both Classic MySQL Protocol and X Protocol
       Known issue: both .NET Core 3.0 (crossplatform) and .NET
       Framework 4.8 (windows only) added support for TLSv1.3.
       Be sure to confirm that the platform operating system
       running your application also supports TLSv1.3 before
       using it exclusively for connections. (Bug #30225427)

     * Support for DNS Service (SRV) records now provides an
       alternative to specifying individual hosts in the
       connection string. Instead, a single DNS domain can map
       to multiple targets (servers) using SRV address records.
       Each SRV record includes the host name, port, priority,
       and weight. For .NET applications using X Protocol, a new
       URI scheme of mysqlx+srv:// enables connections to share
       the query load when a single DNS domain is mapped to
       multiple servers.
       Similarly, the new dns-srv connection-string option also
       enables DNS SRV lookups for connections using either the
       classic MySQL protocol or X Protocol. The DNS SRV feature
       is disable by default. For usage information, see Options
       for Both Classic MySQL Protocol and X Protocol

     * When creating a new connection using classic MySQL
       protocol, multiple hosts can be tried until a successful
       connection is established. A list of hosts can be given
       in a connection string, with or without priorities.

// Example with priority

// Example without priority and with multiple ports

       If the priority is not included, or if multiple hosts
       have the same priority, Connector/NET selects a host at
       random. The same random selection behavior also applies
       to connections made using X Protocol, which previously
       selected hosts sequentially when no priority was

Bugs Fixed

     * Clone connections did not process all connection settings
       as expected. (Bug #30502718)

     * Connector/NET files displayed an unlikely date after the
       NuGet package containing them was installed in a project.
       (Bug #30471336, Bug #97390)

     * The inclusion of the System.Resources.Extensions
       dependency was transient and now is removed from the
       MySql.Data NuGet package. (Bug #30421657, Bug #97218)

On behalf of Oracle/MySQL Release Engineering Team,
Tvarita Jain