Adjust mysql link encounter
System.TypeInitializationException:“The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception.”
A series of errors were reported, and I
finally found that I ignored the specific errors caused by the configuration and the pointed file was
adjusted as follows . There are two options 1) comment out the system.data node in the configuration file, and note 2 in the screenshot 2) remove the configuration file The program does not use configuration)
(the average person will not make this mistake as a warning (the main reason is that the configuration file remains caused by the configuration of the multi-link database))