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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

6 REPLIES 6
HALESHA8055
New Member

Screenshot (10).png

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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