cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Connect SQL server using windows authentication

Data_Analytics_
New Contributor II

How do I connect to a on-premise SQL server using window authentication from a databricks notebook

1 ACCEPTED SOLUTION

Accepted Solutions

User16829050420
Databricks Employee
Databricks Employee

We should have network setup from databricks Vnet to the on-prem SQL server.

Then the connection from the databricks notebook using JDBC using Windows authenticated username/password - https://docs.microsoft.com/en-us/azure/databricks/data/data-sources/sql-databases

View solution in original post

3 REPLIES 3

User16829050420
Databricks Employee
Databricks Employee

We should have network setup from databricks Vnet to the on-prem SQL server.

Then the connection from the databricks notebook using JDBC using Windows authenticated username/password - https://docs.microsoft.com/en-us/azure/databricks/data/data-sources/sql-databases

Thanks Ashwin

Would someone provide example with IntegratedSecurity instead of user name and password?

Is this even possible with Databricks? We do have Azure AD sync'd. Any additional steps to allow IntegratedSecurity in connection string for better security control?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group