- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2025 09:58 AM
It by default made SQL warehouse compute, but I want all-purpose compute, as I want test and learn capabilities of PySpark and Databricks.
I can't connect with the serverless compute in the notebook; it gives a mean error as follows:
"An error occurred while trying to attach serverless compute.
Please try again or contact support."
P.S.: I'm the owner of this account, so I have all the access and control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2025 10:05 AM
Additionally, my SQL Serverless Compute connects with the notebook.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2025 03:36 AM
Hello @Navi991100!
In the free edition, creating all-purpose compute isn’t supported, but you can run PySpark code using serverless compute.
For the error you’re encountering while connecting to serverless compute, please try the resolutions shared in this post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2025 07:10 AM
In the free Databricks edition, to use PySpark you need to create and start a cluster, since the SQL Warehouse is only for SQL queries; go to Compute > Create Cluster, set up a free cluster, click Start, and then attach your notebook to it this will fix the “no server” error and let you run PySpark normally.
SQL Server • Power BI • Python • Machine Learning