.net core 部署在linux 返回
Sql论坛
老数据
6
3972
悬赏:5 飞吻
有没有老哥将系统部在linux的经历啊,我部署到linux上 sql2008R2 连接不上,网上说把那个SP3的补丁就可连接,但是,我试了还是不行,求解啊
热忱回答(6)
-
向晚꧔ꦿ᭄ VIP0
2022/5/5English 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)\r\nChinese Message : 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先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).
这是错误信息
0 回复 -
fate sta VIP0
2022/5/5建议升级SQLSERVER
0 回复 -
fate sta VIP0
2022/5/50 回复 -
向晚꧔ꦿ᭄ VIP0
2022/5/5@fate sta:网上说的是最低版本2008R2,但是试了还是没用,,,12的打上补丁就可以的,升级数据库只是无奈之举
0 回复 -
lizhb VIP0
2023/6/5@向晚꧔ꦿ᭄:能升级到新版本就尽量升级到新版本,新版本包含一些新功能是sqlsugar会用到的,之前遇到过低版本不支持OPENJSON之类的错误
0 回复 -
WTFree VIP0
2025/7/10程序是不是部署到docker中?是的话,看看这个https://github.com/dotnet/dotnet-docker/discussions/5318,我程序连的是sqlserver2016,也是连不上,然后查了大半日,就在这个帖子看到解决办法,不过先要看看是不是用.netcore8的,帖子说:不同版本的基础镜像对应的openssl.cnf文件内容不一样,修改方式也不同,只要降低协议版本就可以访问sql的数据库,希望对您有帮助。
0 回复