MySQL Connector/NET enables you to develop .NET applications that require secure, high-performance data connectivity with MySQL. It implements the required ADO.NET interfaces and integrates into ADO.NET-aware tools. You can build applications using your choice of .NET languages. Connector/NET is a fully managed ADO.NET data provider written in 100% pure C#. It does not use the MySQL C client library.
For notes detailing the changes in each release of Connector/NET, see MySQL Connector/NET Release Notes.
Connector/NET includes full support for:
Encrypted connections using the TLSv1.2 protocol over TCP/IP. Requires Connector/NET 8.0.11 or higher.
MySQL as a Document Store over X Protocol.
Features provided by MySQL Server up to and including the MySQL 8.0 release series.
.NET Core and Entity Framework Core to enable cross-platform development.
Large-packet support for sending and receiving rows and
BLOBvalues up to 2 gigabytes in size.
Protocol compression, which enables compressing the data stream between the client and server.
Connections using TCP/IP sockets, named pipes, or shared memory on Windows.
Connections using TCP/IP sockets or Unix sockets on Unix.
The Open Source Mono framework developed by Novell.
.NET for Windows 8.x Store apps (Windows RT Store apps).
Connector/NET supports full versions of Visual Studio 2013, 2015, and 2017, although the extent of support may be limited depending on your versions of Connector/NET and Visual Studio. For details, see MySQL for Visual Studio.
For connection string properties when using the
MySqlConnectionclass, see Section 4.5, “Connector/NET 8.0 Connection Options Reference”.