Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Fixing an Error: Power BI Connection with MySQL or Azure Database
#Azure
#PowerBI
#MySQL
This article is intended to help people who are facing the same problem I had when trying to connect Power BI to a MySQL or SQL Server database.
If you encountered the following errors, or even after doing exactly what Power BI asks—downloading and installing the connector—and it still doesn’t work, below are the screenshots and the solution.
First, the following message appears for you:
image
You click on Learn more, follow all the procedures, install the connector, and even then it does not work.
The latest version downloaded is this one: net-8.1.0.msi
image
The problem may be related to several factors, such as compatibility, operating system version, among others.
I searched some forums, and the issue can often be fixed by downloading older versions.
I downloaded the version most recommended by them; it worked at first, but later other errors appeared.
So the tip I give is: you need to test different versions and see which one works best on your computer.
I will write down the errors, post the screenshots, and show the recommended versions and which one worked on my computer.
You should test these first—it helps you avoid wasting too much time. If it doesn’t work, then you can download other versions.
In the next posts, I will leave the link.
Below is another version I installed, which worked but later showed another error:
image
If these other errors appear, follow what was explained and it will be resolved.
Example 1:
Details: "We were unable to find a database provider with the invariant name 'MySql.Data.MySqlClient'."
Example 2:
image
The version that worked perfectly for me was: net-8.0.32.msi
image
After that, the connection with the database worked perfectly.
image
Here is the link to download several versions:
https://downloads.mysql.com/archives/c-net/
image
If anyone is having this difficulty, I hope this helped, because it took quite a lot of my time until I managed to fix it.
Source of the solution:
Corrigindo erro: Conexão do power BI com Banco de Dados MySQL ou Azure | Wenderes Cunha | Azure | Po...
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:
Note: Make sure to restart your running applications so everything get loaded. (Don't Ignore this)
Thanks. Help a lot. The error is a simple thing. NEED READ, correctly
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
Did you get solution to this having same error
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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |