【发布时间】:2015-02-17 19:44:54
【问题描述】:
Jetbrains 0xDBe 是否支持使用 Windows 身份验证登录 SQL Server?
我正在使用运行 OS X Mavericks 的 Mac 并尝试通过 VPN 连接到我们的公司临时数据库。那里有很多问题......
现在我的网址是这样的:
jdbc:sqlserver://10.11.222.333:12345
我尝试将integratedSecurity 设置为true,还尝试在 URL 中指定域:
jdbc:sqlserver://10.11.222.333:12345;domain=MyDomain
无论如何,当我测试连接时,它只是超时并出现此错误:
Connection to Staging failed
java.sql.SQLException: The TCP/IP connection to the host 10.11.222.333, port 12345 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)
at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)
at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
in RemoteDriverImpl.connect(RemoteDriverImpl.java:27)
in RemoteUtil.access$100(RemoteUtil.java:36)
in RemoteUtil$RemoteInvocationHandler.invoke(RemoteUtil.java:227)
at com.sun.proxy.$Proxy84.connect(Unknown Source)
in LocalDataSource.getConnection(LocalDataSource.java:240)
有什么建议吗?
【问题讨论】:
标签: macos sql-server-2012 windows-authentication osx-mavericks datagrip