I’m getting the following error when trying to interface with a MySQL-capable database:
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for MySql.Data.MySqlClient.Replication.ReplicationManager
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] in <filename unknown>:0
For some reason, the same DLL I’m using in the Editor fails to work in a Standalone build. I’ve included every DLL that was asked of me by Unity (by copying from the Editor’s own set of Mono DLLs). Does anyone know how to get the connection to open without error?
For reference, the DLL for the connector I’m using is version 6.7.9, no install, created October 5 2015, with a SHA256 beginning B30AC09086978. I am using Unity3D version 5.5.0f3.