ITPub博客

首页 > 应用开发 > > 求助:MySQL 出现间歇性链接不上~~

求助:MySQL 出现间歇性链接不上~~

作者:兔子爱喝奶茶 时间:2019-11-04 17:11:04 0 删除 编辑

程序平时运行正常,每天总能出现几次,数据库链接不上异常,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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-26

  • 博文量
    1470
  • 访问量
    11237