System.Number.StringToNumber(string, System.Globalization.NumberStyles, ref System.Number.NumberBuffer, System.Globalization.NumberFormatInfo, bool) System.Number.ParseInt32(string, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo) MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySql.Data.MySqlClient.MySqlConnection) MySql.Data.MySqlClient.Driver.Configure(MySql.Data.MySqlClient.MySqlConnection) MySql.Data.MySqlClient.MySqlConnection.Open() Dapper.SqlMapper.QueryImpl<T>(System.Data.IDbConnection, Dapper.CommandDefinition, System.Type) Dapper.SqlMapper.Query<T>(System.Data.IDbConnection, string, object, System.Data.IDbTransaction, bool, int?, System.Data.CommandType?)
执行一般查询,偶发抛出以上异常,特此记录
更换为 MySqlConnector 解决此问题
备注:
MySql.Data -Version 8.0.30标签:MySqlClient,System,Framework,Globalization,MySql,Dapper,Data From: https://www.cnblogs.com/bhfdz/p/16712022.html
MySqlConnector -Version 2.1.3
Dapper -Version 2.0.123