首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何从windows xp连接到Sql Server 2017

如何从windows xp连接到Sql Server 2017
EN

Stack Overflow用户
提问于 2019-04-15 18:22:17
回答 1查看 2.3K关注 0票数 0

我们有一些xp (非常旧的)机器无法连接到sql server 2017 (在Linux上运行)。我们尝试测试与ODBC的连接。这个问题与SSL有关。

有没有办法把它关掉,这样它就可以工作了?

代码语言:javascript
运行
复制
Error Message : Microsoft SQL Server Login
Connection failed:
SQLState: '01000'
SQL Server Error: 772
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen(SECDoClientHandshake()).
Connection failed:
SQLSTATE: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
EN

回答 1

Stack Overflow用户

发布于 2019-06-18 03:47:30

我也遇到了同样的问题,并在https://www.smartftp.com/pt-br/support/kb/2754上得到了解决方案。以下是步骤,在此情况下,此链接转到南部。

该解决方案包括在XP上添加对TLS1.2的支持,该支持适用于基于Windows XP SP3的"Windows Embedded POSReady 2009“(更多信息请访问https://en.wikipedia.org/wiki/Windows_Embedded_Industry#Windows_Embedded_POSReady_2009)。

要使它在“普通的旧XP”上工作,您需要在Windows注册表中添加以下内容:

代码语言:javascript
运行
复制
[HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady] 
"Installed"=dword:00000001

接下来,TLS的注册表项:

代码语言:javascript
运行
复制
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000

下一步是在微软的KB4019276 (https://support.microsoft.com/en-us/help/4019276/update-to-add-support-for-tls-1-1-and-tls-1-2-in-windows)上获得所需的更新。安装更新并重新启动。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55687080

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档