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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DrinkableRiver
New Member

Internal Error connecting PowerBI to MySQL database

Hello,

 

I am currently trying to connect a dashboard I designed with a MySQL database holding the data currently. However, I keep receiving this error: Details: "An error happened while reading data from the provider: 'Internal connection fatal error. Error state: 18'".

 

Is this an issue with PowerBI's side or the host's side and is there a way to fix this? 

 

Thank you.

8 REPLIES 8
surajsohigh
New Member

To solve the error message "An error happened while reading data from the provider: 'Internal connection fatal error. Error state: 18'", you can try the following steps:

  1. Go to File tab on the ribbon in PowerBI Desktop, then click on About and check the PowerBI version. Update PowerBI if it is not the latest version.
  2. Download and Install MYSQL connect - MySQL :: Download Connector/NET
  3. If the PowerBI version is already the latest, click on the dropdown arrow below the Transform Data button, then click on Data source settings and Global Permissions.
  4. Consider using a server name instead of an IP address to connect to SQL server.

Note: Make sure to restart your running applications so everything get loaded. (Don't Ignore this)

HALESHA8055
New Member

Screenshot (10).png

 

This and the step above:

Download and Install MYSQL connect - MySQL :: Download Connector/NET

 

You need the drivers to connect and then make sure you are connecting to the right DB. Had the same issue and was solved after downloading .NET and choosing Other Sources and selecting mySQL from the list.

 

The other thing you might want to check is that you are choosing signing in with database credentials and not Windows. That is found on the left when entering the password.

I tried with mysql server, having the same issue

 

PeterAyub
New Member

Did you get solution to this having same error 

JosefPrakljacic
Solution Sage
Solution Sage

Hi @DrinkableRiver ,

In your scenario, are you able to connect to the MySQL database in MySQL workbench? Please ensure that MySQL workbench is installed in the same machine as Power BI Desktop.


If the connection is successful in MySQL workbench, use same connection string and make sure that you use Database credential in Power BI Desktop to connect to the MySQL database, and you can review this blog about connecting to MySQL in Power BI Desktop.


If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

Thank you for responding.

 

Unfortunately, even after trying those methods I am still receiving the same error.

 

Do you know of any other potential solutions perhaps? 

Have you found any solution for this issue? I am able to connect to the Azure MySQL using Workbench but I am getting the same error as yours while connecting the PowerBI data source to Azure MySQL

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.