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: 

Python databricks sql.connect takes 10minutes exact to connect to Serverless SQL Datawarehouse

PaulMarsh
New Contributor II

Have tried this with both the SQL Warehouse up and running and turned off. The connection eventually is made and works without issue, but the initial connect() takes 10minutes to establish. 

No other connectivity issues between the box and the Warehouse. And it is a consistent 10minutes. Any thoughts are much appreciated.

Python 64-bit 3.12

Databricks-sql-connector 3.2

 

1 REPLY 1

PaulMarsh
New Contributor II

@Retired_mod thank you for the reply, it seems the issue came down to the script was running with Python 3.12 and I should have been using 3.11.9

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now