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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jayjay144
Frequent Visitor

Cannot Connect Power BI to Local MySQL Workbench Server

Hi,


I am trying to import SQL server data into Power BI. I am using a local instance of MySQL Workbench to do so.

I am able to put in the server and database just fine, but when I input my credentials I get the error message" 'Internal connection fatal error. Error state: 18'

I have been trying for 2 days to connect. I have tried downloading the .NET connector driver twice, the ODBC connector with a complete install, ensuring I have mysqld.exe installed. I have tried not connecting to root and creating a new user, this still gives me an error message, although different-see attached.

I have watched every single youtube video on this topic and read every blog post, still nothing. 

Any help at all? I am at my wits end here. Connecting using rootConnecting using rootError connecting with a new userError connecting with a new userError connecting using rootError connecting using root

3 REPLIES 3
lbendlin
Super User
Super User

1. do not use "localhost". Use a fully qualified domain name (FQDN).  You will need a gateway, and that gateway has no idea what "localhost" means

2. uninstall your current Net connector and install version 8.0.28 - it is one of the few versions known to actually work.

The solution was using another Net connector version. Connecting to Localhost works however. 

Hi @jayjay144 ,
Thanks for engaging with Microsoft Fabric Community,
Also thanks for confirming that using another .NET connector version resolved your issue.
Would you mind marking the helpful reply as "Accepted Solution" to help others facing similar issue find the solution quickly.
Thanks @lbendlin for your valuable contribution to the community.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.