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
sc_plastilin
New Member

MySQL - Unexpected packet format

In relation to PowerBI for desktop, I used the default and later an updated version of MySQL Connector net. I get the following connection error each time.

 

DataSource.Error: An error happened while reading data from the provider: 'The handshake failed due to an unexpected packet format.'
Details:
   DataSourceKind=MySql
    

Using the same connection settings I can successfully connect via an ODBC connector and also via MySql Workbench. Which leads me to believe that there must be an issue with PowerBI desktop.

 

The Sql server does not use SSL and I had to disable use of SSL in ODBC and MySql Workbench to get the connection to work. I have tried the same in PowerBI by un-checking "Encrypt Connection" under permissions for the data source. But doing so makes no difference to the error message.

 

Can anyone advise on how to debug this further? (An option is to use the ODBC connector instead, but that would mean re-writing a lot of queries which have already been setup for MySQL so I would prefer to avoid a work around.)

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @sc_plastilin,

 

Have you tried the latest desktop version 2.44.4675.521? I'm able to connect to MySQL on my side use this desktop version. If it doesn't work on your side, the issue should be related to machine specific, I would suggest you create a support ticket at the end of this page https://powerbi.microsoft.com/en-us/support/.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

We're already using the latest version, so that won't work. I will contact support. Thanks.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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