Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
awbanksh
Microsoft Employee
Microsoft Employee

Fabric Notebook Unable To Connect To Azure SQL Server

I'm trying to connect a Fabric notebook (PySpark) to Azure SQL server using pyodbc but keep receiving the following error when using ODBC Driver 18 for SQL server: 

awbanksh_0-1696277417110.png

OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')

 

Can anyone help? I don't want to input my password into the notebook. 

1 ACCEPTED SOLUTION
awbanksh
Microsoft Employee
Microsoft Employee

Notebooks don't support this kind of connectivity.

View solution in original post

5 REPLIES 5
awbanksh
Microsoft Employee
Microsoft Employee

Notebooks don't support this kind of connectivity.

Anonymous
Not applicable

Hi @awbanksh ,
Glad you have got a resolution for the error. Please continue using Fabric Community for help regarding your queries.

DennesTorres
Impactful Individual
Impactful Individual

Hi,

Are you sure a notebook supports interactive authentication? This would be new for me. Try using user and password and don't forget to handle the azure sql firewal

 

Kind Regards,

 

Dennes

Anonymous
Not applicable

Hi @awbanksh ,
Are you still facing this issue? Please let us know if you any issues.
Please refer this link for help: link 

Anonymous
Not applicable

Hi @awbanksh ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Please let us know if you have any further queries.

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.