cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors