【发布时间】:2017-05-14 21:26:32
【问题描述】:
我之前使用过 Microsoft SQL Server Management Studio here 和 Azure SQL here,但我想尝试 DbVis(独立于平台的替代方案)。我正在 OSX 中尝试 DbVis。我可以找到 SQL Server here 的 JDBC 驱动程序,但不确定这是否需要在 OSX 中将 DbVis 与 Azure SQL 一起使用。
我需要选择哪个驱动程序才能连接到 DbVis 中的 Azure SQL?
试用 1。 管理员凭据出错
设置是
- 服务器名称
myDB.database.windows.net为Database 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.
可能相关
【问题讨论】:
-
您试用此驱动程序时发生了什么?你收到错误了吗?
-
@Nick.McDermaid 在 Db Vis 中添加了上面试验 1 的错误输出,管理员凭据和服务器名称为
Database URL。 -
您是否设法通过其他方式连接到此 Azure 服务器?你能ping通服务器吗?您是否按照本文打开了 Azure 防火墙:docs.microsoft.com/en-us/azure/sql-database/…
-
@Nick.McDermaid 向 Q 添加了关于 ping 的错误报告。我可以在 MMSM 中访问数据库,客户端 IP 在防火墙中打开,这可能是 jTDS 驱动程序的 url 的一些问题,
myDB.database.windows.net格式显然不正确,可能缺少某些前缀? Like here 使用不同的驱动程序。 -
那么...它生成了什么 JDBC 连接字符串?如果它没有告诉你,请从这里尝试手动操作:docs.microsoft.com/en-us/azure/sql-database/…
标签: sql-server macos azure azure-sql-database dbvisualizer