Free Nhibernate and MySql don't play well together

What links are needed to work freely with mysql in nhibernate. I downloaded the latest version (6.0.3.0) of the mysql connector, but it still throws exceptions related to the mysql driver.

Here is the exception:

{"Failed to create driver from NHibernate.Driver.MySqlDataDriver, NHibernate, Version = 2.0.1.4000, Culture = neutral, PublicKeyToken = aa95f207798dfdb4." }

Thanks.

+4
source share
1 answer

In my experience, you need your MySQL link set to be copied to "Copy local" (that is, the DLL is copied to the bin folder) so that NHibernate works with MySQL altogether. Did you do it?

+2
source

All Articles