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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
enriqueq84305
New Member

MySQL: Fatal error encountered during command execution.

Hey everyone,

 

I'm connecting to a MySQL database and there is a table we use frequently with millions of records.  I'm simply choosing MySQL database option in Get Data step and clicking on the table I want and after the table tries to load "Fatal error encountered during command execution" pops up.  The same in Power Query Editor, when I filter to just one week of data from this table it previews and loads into the data model fine, but then I filter for two weeks and the error pops up again.  According to my boss this error started occurring when Tech department made changes/updates to the table in the DB by trimming it down since the table was getting too big.  Any advice on what is causing this or how to remedy would be greatly appreciated.

1 REPLY 1
amitchandak
Super User
Super User

@enriqueq84305 , Please make sure you are using the latest .net driver. In the past the issue seems with the driver or

https://community.powerbi.com/t5/Desktop/MySQL-Fatal-error-encountered-during-command-execution-prob...

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.