无法使用具有JDBC连接的Databricks连接Azure SQL DW。 [英] Unable to connect Azure SQL DW using Databricks having JDBC connection.

查看:142
本文介绍了无法使用具有JDBC连接的Databricks连接Azure SQL DW。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好,

我正在尝试使用具有JDBC连接的数据存储库连接Azure数据仓库,此登录使用SQL Server身份验证。 

I am trying to connect Azure data warehouse using databricks having JDBC connection, this log-in is using SQL Server Authentication. 

我收到以下错误:



SQL语句出错:SqlDWSideException:SQL DW无法执行连接器生成的JDBC查询。基础SQLException: - com.microsoft.sqlserver.jdbc.SQLServerException:
用户'XXX'登录失败。 ClientConnectionId:XXXX [ErrorCode = 18456] [SQLState = S0001]



推荐答案

嗨Priya,

Hi Priya,

请发布您的整个连接字符串减去任何敏感信息,例如密码。 

Please post your entire connection string minus any sensitive information such as password. 

在数据库的Azure门户中,有一个连接字符串刀片,详细说明格式正确SQL Admin的连接字符串。你只需要添加密码。您还拥有正确JDBC驱动程序的链接。

In the Azure Portal for your database, there is a Connection Strings blade that details the correctly formatted connection string for the SQL Admin. YOu just need to add the password. You also have the link for the correct JDBC driver.

请尝试使用门户网站中提供的信息以SQL Admin身份连接到您的数据库。这是为了建立基线。请确保您还将客户端/应用程序公共IP地址添加到防火墙中的允许列表中,以用于部署DWH的Azure SQL
服务器实例。

Please try to connect to your database as the SQL Admin with the information available in the portal. This is to establish a baseline. Please ensure you have also added the client/app public IP address to the Allow List in the firewall for the Azure SQL Server instance where you DWH is deployed.


这篇关于无法使用具有JDBC连接的Databricks连接Azure SQL DW。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆