NHibernate.Driver.MySqlConnector 2.0.5

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package NHibernate.Driver.MySqlConnector --version 2.0.5
NuGet\Install-Package NHibernate.Driver.MySqlConnector -Version 2.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NHibernate.Driver.MySqlConnector" Version="2.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHibernate.Driver.MySqlConnector --version 2.0.5
#r "nuget: NHibernate.Driver.MySqlConnector, 2.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NHibernate.Driver.MySqlConnector as a Cake Addin
#addin nuget:?package=NHibernate.Driver.MySqlConnector&version=2.0.5

// Install NHibernate.Driver.MySqlConnector as a Cake Tool
#tool nuget:?package=NHibernate.Driver.MySqlConnector&version=2.0.5


This package provides an alternative MySQL/MariaDB driver for NHibernate in addition to NHibernate.Driver.MySqlDataDriver provided by nhibernate-core.

It uses the MySqlConnector library which is an alternative to MySql.Data that may be more performant in both async and sync workloads and fixes dozens of outstanding bugs in MySql.Data.


Set connection.driver_class in your NHibernate session factory config to:

  • connection.driver_class: NHibernate.Driver.MySqlConnector.MySqlConnectorDriver, NHibernate.Driver.MySqlConnector

or use the Configure-by-code helper:

  • new Configuration().DataBaseIntegration(c => c.MySqlConnectorDriver());

Values of the other parameters should stay the same as when using MySql.Data:

  • connection.provider: NHibernate.Connection.DriverConnectionProvider

  • dialect: One of the available MySQL dialects e.g. NHibernate.Dialect.MySQL5Dialect

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NHibernate.Driver.MySqlConnector:

Package Downloads

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NHibernate.Driver.MySqlConnector:

Repository Stars
Repository for Shoko Server.
Version Downloads Last updated
2.0.5 4,222 3/21/2024
2.0.5-ci.12 43 3/21/2024
2.0.5-ci.11 50 3/21/2024
2.0.5-ci.10 49 3/21/2024
2.0.5-ci.9 47 3/21/2024
2.0.5-ci.8 48 3/21/2024
2.0.5-ci.7 44 3/21/2024
2.0.5-ci.6 46 3/21/2024
2.0.5-ci.4 592 4/25/2023
2.0.5-ci.3 70 4/25/2023
2.0.5-ci.2 149 11/21/2022
2.0.5-ci.1 103 11/7/2022
2.0.4 30,914 10/6/2022
2.0.4-ci.2 102 10/6/2022
2.0.4-ci.1 113 10/4/2022
2.0.3 1,123 9/9/2022
2.0.3-ci.4 108 9/9/2022
2.0.0 30,250 7/12/2020
1.0.1 639 6/17/2020
1.0.0 2,655 4/19/2020