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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
supriya_13
Helper I
Helper I

Unable to connect to Mysql database with ssl security.

Hi Everyone ,
I'm trying to connect to mysql database in power bi desktop,it shows Encryption support error stating "we were unable to connect to the dats source using encryted connection. To access click OK."
Even if I click on OK , then I'm getting other error stating "we encountered an error while trying to connect. Details: "MySQL: Reading from the stream has failed.""
1) I can't turn off SSL security on server
2) I tried with File->Options and Settings -> Data Source Settings, choose data source and select Edit and uncheck "Encrypt Connections" option.But this doesn't work.

Capture.PNG

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @supriya_13 ,

 

You may refer to this topic which has similar error.

https://community.powerbi.com/t5/Power-Query/How-to-connect-to-a-datasource-with-SSL/m-p/663934 

 

Best Regards,
Jay

amitchandak
Super User
Super User

@supriya_13 , have you already installed latest .net driver

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

yes, the drive is already installed.

 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors