小编bat*_*ver的帖子

我无法连接到 ms sql 实例 - 内部

我使用的平台和软件版本如下:

Red Hat Enterprise Linux Server release 7.4 (Maipo)
Microsoft SQL Server 2017 (RTM-CU3-GDR) (KB4052987) - 14.0.3015.40 (X64) 
Dec 22 2017 16:13:22 
Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on
Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600:) (Hypervisor)
Run Code Online (Sandbox Code Playgroud)

我在谷歌上搜索了很多答案,但还没有找到任何解决方案。我无法RDS instance having MS SQL instance通过 Linux 连接。

它显示以下错误如果我尝试:

[ec2-user@ip-~]$ sqlcmd -H mssqldb.xxxxxxxxxxxxxx.com -P 1433
                        -U userXXXXX -P aXXXXXX
                        -Q 'SELECT TOP 1 [n] FROM [dbbase2].[dbo].[table_people]'

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server :
               Login …
Run Code Online (Sandbox Code Playgroud)

linux cloud amazon-web-services redhat-enterprise-linux

5
推荐指数
1
解决办法
9842
查看次数