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: 

ON-Prem SQL Server Direct Connection with Azure Databricks

Upendra_Dwivedi
New Contributor II

Hi All,

I have SSMS installed and have some data there which i want to export to Databricks and process it there. Databricks is hosted on Azure Cloud and I am wondering if it is possible. I have tested it using JDBC connection but i am getting error: 

The TCP/IP connection to the host LAPTOP-XXXXXX, port 1433 has failed. Error: "LAPTOP-XXXXXX. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port.


I have enabled TCP/IP and also added rule in Windows Firewall to allow access but still not able to connect and getting same error. 

Please let me know if i need to set anything up before establishing connection.

Thankyou in advance.

3 REPLIES 3

MariuszK
Contributor III

Hi,

It's not so easy. It could work, but you would need a VNet integrated with your onpremises network where this computer is connected, configured private endpoints for Databricks and configured entries in DNS for LAPTOP-XXXXXX.

 

Hi,

I am new to this so if you have the steps to follow for source(SQL Server) and target(Databricks), it would be very helpful. Or if there is any alternative w.r.t best practices is also acceptable.

Thankyou for the reply

MariuszK
Contributor III

If you want to play with SQL Server the easy way is to use Azure SQL that will be visuable for Databricks. Alternativly you can use ADF with slef-hosted run time to extract data to Azure from SQL Server.

Network configuration requires many steps and is complex without an experience, I'm not recomending to do it.

 

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