cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
New Contributor III
New Contributor III

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

4 REPLIES 4

User16829050420
New Contributor III
New Contributor III

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

Hi @Sudhakar Nandigam​ , Were you able to connect to the on-premise SQL server?

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?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.