微软mssql linux版无法连接
发表于 : 2017-08-05 19:55
ubuntu16, 通过数据库管理软件链接mssql显示错误:
通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“拒绝连接。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。
通过终端命令行 sqlcmd -S localhost -U SA -P '<YourPassword>' 连接显示错误:
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
求救!!!折腾几天了。。。
通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“拒绝连接。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。
通过终端命令行 sqlcmd -S localhost -U SA -P '<YourPassword>' 连接显示错误:
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
求救!!!折腾几天了。。。