我使用iBATIS我的應用程序了。我正在使用IBatis 1.6.1版本。我認爲它可以處理所有與數據庫連接相關的操作。但現在我對此有點擔心。有時,我正在將以下錯誤詳細信息記錄到我的日誌文件中,IBatis需要幫助嗎?
消息 無法打開與「MySQL,MySQL provider 5.0.8.1」的連接。 源 IBatisNet.DataMapper 堆棧 在IBatisNet.DataMapper.SqlMapSession.OpenConnection(字符串的connectionString)在IBatisNet.DataMapper.SqlMapSession.OpenConnection()在IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader()在IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForObject(RequestScope請求,ISqlMapSession會話,對象parameterObject,對象resultObject)在IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject(ISqlMapSession會話,對象parameterObject,對象resultObject)在IBatisNet.DataMapper.MappedStatements.MappedStatement .ExecuteQueryForObject(ISqlMapSession會話,對象parameterObject)在IBatisNet.DataMapper.SqlMapper.QueryForObject(字符串statementName,對象parameterObject)在Sunya.VideoStreaming.Persistence.SchoolRepository.GetSchoolDetailsByUrl(力量在System.Web.HttpApplication.SyncEventExecutionStep的ASP.global_asax.Application_BeginRequest(Object sender,EventArgs e)處的D:\ SVN \ Sprint104 \ Persistence \ SchoolRepository.cs:EduVisionBasePage.GetSchoolUrl(School &_school)的192行。 System.Web.HttpApplication.IExecutionStep.Execute()在System.Web.HttpApplication.ExecuteStep(IExecutionStep步驟,布爾& completedSynchronously) 消息 連接太多 源 MySql.Data 堆棧 在MySql.Data.MySqlClient.MySqlStream .OpenPacket()at MySql.Data.MySqlClient.NativeDriver.Authenticate411()at MySql.Data.MySqlClient.NativeDriver.Authenticate()at MySql.Data.MySqlClient.NativeDriver.Open()at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection ()在MySql.Data.MySqlClient MySqlPool.GetConnection()at MySql.Data.MySqlClient.MySqlConnection.Open()at IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString)
有人對這個錯誤有一些想法嗎?