首页 > 应用开发 > > 求助:MySQL 出现间歇性链接不上~~
程序平时运行正常,每天总能出现几次,数据库链接不上异常,ORM 使用的是 iBatis ,那位兄弟遇到过呀?
未经处理的异常:IBatisNet.DataMapper.Exceptions.DataMapperException:Unabletoopenconnectionto"ADO.NetdriverforMySQL".--->System.Security.Authentication.AuthenticationException: 调用SSPI失败,请参见内部异常。--->System.ComponentModel.Win32Exception: 为验证提供的消息或签名已被更改---内部异常堆栈跟踪的结尾---在MySql.Data.Common.Ssl.StartSSL(Stream&baseStream,Encodingencoding,StringconnectionString) 在MySql.Data.MySqlClient.NativeDriver.Open() 在MySql.Data.MySqlClient.Driver.Open() 在MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuildersettings) 在MySql.Data.MySqlClient.MySqlConnection.Open() 在IBatisNet.DataMapper.SqlMapSession.OpenConnection(StringconnectionString)---内部异常堆栈跟踪的结尾---在IBatisNet.DataMapper.SqlMapSession.OpenConnection(StringconnectionString) 在IBatisNet.DataMapper.SqlMapSession.OpenConnection() 在IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader() 在IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForList[T](RequestScoperequest,ISqlMapSessionsession,ObjectparameterObject,IList`1resultObject,RowDelegate`1rowDelegate) 在IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForList[T](ISqlMapSessionsession,ObjectparameterObject) 在IBatisNet.DataMapper.SqlMapper.QueryForList[T](StringstatementName,ObjectparameterObject) 在Tazhi.DataAccess.QuestionDao.GetPrimaryKeysByNotFinishByExpired() 位置D:\Tazhi\Core\Tazhi.DataAccess\QuestionDao.cs:行号 79 在Tazhi.UserAssets.Monitor.Job.Program.Main() 位置D:\Tazhi\Jobs\Tazhi.UserAssets.Monitor.Job\Program.cs:行号 18
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69918097/viewspace-3135146/ ,如需转载,请注明出处,否则将追究法律责任。