MySql.Data.MySqlClient.Replication.ReplicationManager throws an System.TypeInitializationException

前端 未结 3 1934
一向
一向 2021-01-16 10:51

I\'m having trouble with my code to access a MySQL Database. Everytime I try to open my connection, a System.TypeInitializationException is thrown by MySq

3条回答
  •  無奈伤痛
    2021-01-16 11:25

    I had the same problem but when i installed the MySql.Data.dll using Nuget then the problem is solved Install MySql.Dll file from Nuget,

    not from MySQL Website.

提交回复
热议问题