VB.NET: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception

前端 未结 5 1959
逝去的感伤
逝去的感伤 2021-01-28 07:39

I don\'t know what may be wrong but that\'s what I get when I try to start the program:

The type initializer for MySql.Data.MySqlClient.Replication.ReplicationMana

5条回答
  •  迷失自我
    2021-01-28 08:01

    I guess the problem is with your connection string

    For instance your connection string should be like this

    Server=myServerAddress; Database=myDataBase; Uid=myUsername; Pwd=myPassword;
    

    To know more Click Here..!!!

    Hope this helps

    Happy Coding

提交回复
热议问题