2

我之前在这里使用过 Microsoft SQL Server Management Studio和 Azure SQL 但我想尝试DbVis(独立于平台的替代方案)。我正在 OSX 中尝试 DbVis。我可以在这里找到 SQL Server 的 JDBC 驱动程序,但不确定这是否需要在 OSX 中将 DbVis 与 Azure SQL 一起使用。

我需要选择哪个驱动程序才能连接到 DbVis 中的 Azure SQL?

在此处输入图像描述

在此处输入图像描述

试用 1.管理员凭据出错

设置是

  • 服务器名称myDB.database.windows.netDatabase URL
  • Azure SQL 管理员作为Database userid
  • Azure SQL 密码为Database Password

错误使得

An error occurred while establishing the connection:
The selected Driver cannot handle the specified Database URL.
The most common reason for this error is that the database URL
contains a syntax error preventing the driver from accepting it.
The error also occurs when trying to connect to a database
with the wrong driver. Correct this and try again.

在此处输入图像描述

潜在相关

  1. 在此处连接到 Ubuntu 下 DB Vis 中的 Azure SQL (问答线程)

  2. 在此处连接到 Db Vis 中的 Azure 管理数据(一些文章)

  3. Db Vis 中的票证要求在此处连接到 Db Vis 中的 Azure SQL dbs 的说明。

4

2 回答 2

1

不过,我对 DBVisualizer/jTDS 驱动程序没有任何问题。在此处输入图像描述在此处输入图像描述

据我所知,第一个错误只是表明您的连接字符串中有错误,我建议您打开 Azure 管理门户并从那里复制相应的 jdbc 连接字符串。 在此处输入图像描述 第二个错误表示您无法在数据库 URL 模式下 ping 服务器,切换到服务器信息模式就可以了。

于 2017-05-16T02:02:56.887 回答
0

据此here,Azure在Db Vis中不受官方支持:

请注意,Azure 不是 DbVisualizer 中官方支持的数据库。话虽如此,我们确实有客户 针对 Azure 运行 DbVisualizer。

您可以使用 Jtds 捆绑驱动程序或捆绑的 SQL Server (Microsoft) 驱动程序进行连接。

您可能需要使用 SSH 进行连接,如 http://confluence.dbvis.com/display/UG95/Using+an+SSH+Tunnel中所述

op 已经尝试过 JTDS 驱动程序但显然它与 JTDS 捆绑驱动程序有所不同?这正在与支持人员进一步讨论。

这里不清楚为什么这里需要 SSH 隧道。

于 2017-05-15T20:26:09.243 回答