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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
THar01
Frequent Visitor

A call to SSPI failed, see inner exception

I'm trying to connect to our MySQL database via PBI Desktop (Version: 2.112.1161.0 64-bit (December 2022) using the MySQL connector. I'm able to make an intial connection but then get the "A call to SSPI failed, see inner exception" error.  I'm able to access the server with no issues in MySQL Workbench using the same credentials.  Searching the forom I found what appears to be a solution here: "A call to SSPI failed, see inner exception" -> HE... - Microsoft Power BI Community.  

 

I've unchecked the Encrypt Connection option, clicked the OK button, then close. But....then what?  If I go back to Get Data and select MySQL again, it's forgotten I made that change and I get the SSPI failed error again. Is there something in File > Options and settings I need to enable/disable?

1 ACCEPTED SOLUTION

Thanks Amit. I had cleared the permissions and tried again but got the same error. The issue is apparently related to using Get Data in the home ribbon after clearing permissions and unchecking the Encrypt Connection option - PBI apparently thinks you're trying to open a new connection and ignors those altered settings. The workaround - in this case anyway - was to just launch a new query in PowerQuery after unencrytping the connection and not using the Get Data option in the home ribbon. 

 

Thank you.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@THar01 , Clear Permission under Data source setting and try.

 

Also, make sure you have installed the latest version of .net driver

https://dev.mysql.com/downloads/connector/net/

Thanks Amit. I had cleared the permissions and tried again but got the same error. The issue is apparently related to using Get Data in the home ribbon after clearing permissions and unchecking the Encrypt Connection option - PBI apparently thinks you're trying to open a new connection and ignors those altered settings. The workaround - in this case anyway - was to just launch a new query in PowerQuery after unencrytping the connection and not using the Get Data option in the home ribbon. 

 

Thank you.

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.