首页 新闻 会员 周边 捐助

linux 使用docker 连接数据库报错

0
[已解决问题] 解决于 2022-10-10 11:11

连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught).
English Message : Connection open error . A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)
at SqlSugar.QueryableProvider1.GetData[TResult](KeyValuePair2 sqlObj)
at SqlSugar.QueryableProvider1._ToList[TResult]() at SqlSugar.QueryableProvider1.ToList()
at Agoda.Order.Application.Notice.HotelSearchNotice.ExcuteAsync() in /src/src/Agoda.Order/Agoda.Order.Application/Notice/HotelSearchNotice.cs:line 88
at Agoda.Order.WebApi.Controllers.AgodaController.HotelSearch() in /src/src/Agoda.Order/Agoda.Order.WebApi/Controllers/AgodaController.cs:line 129

虔城墨客的主页 虔城墨客 | 初学一级 | 园豆:185
提问于:2022-05-26 15:19
< >
分享
最佳答案
0

1.升级数据库版本>=2012
2.安装sqlserver sp3 补丁

虔城墨客 | 初学一级 |园豆:185 | 2022-10-10 11:11
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册