我在我的 C# netcoreapp2.1 测试项目中依赖于 MySql.Data,我用它来从数据库中查询测试数据,这适用于 v8.0.25,但如果我升级到 v.8.0.26,我会得到以下信息错误(没有任何其他代码更改)。
System.TypeInitializationException : The type initializer for 'Dev.Tests.Foo' threw an exception.
----> MySql.Data.MySqlClient.MySqlException : SSL Connection error.
----> System.AggregateException : One or more errors occurred. (The handshake failed due to an unexpected packet format.)
----> System.IO.IOException : The handshake failed due to an unexpected packet format.
我已尝试在发行说明中查找此版本中可能已更改的任何内容以执行此操作,但看不到任何明显的内容(无论如何对我来说)。
有没有其他人在升级 MySql.Data 时遇到过这个问题?