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
Bebo
Helper II
Helper II

MySQL connector to Datamart Issue

I have a MySQL database that I have been trying to use with datamart. I use the Mysql databae connector and get the following error: Invalid credentials. (Session ID: 55381723-87d8-4339-9e53-685ffc025b67, Region: us). I have conneccted this same database to MySQL Workbench using the same credentials and evrything connects fine. 

 

Any suggestions?

1 ACCEPTED SOLUTION
otravers
Community Champion
Community Champion

Datamarts are very new and fairly buggy at the moment, try doing your data ingestion upstream in a dataflow, then use that dataflow as your source for the datamart. Either way you'll need to use the Power BI data gateway to connect to MySQL, as well as the MySQL connector:

https://docs.microsoft.com/en-us/power-query/connectors/mysqldatabase

 

In other words, being able to connect using MySQL Workbench doesn't establish that you've met the requirements to connect from either Power BI Desktop or the Power BI service.

 

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

2 REPLIES 2
otravers
Community Champion
Community Champion

Datamarts are very new and fairly buggy at the moment, try doing your data ingestion upstream in a dataflow, then use that dataflow as your source for the datamart. Either way you'll need to use the Power BI data gateway to connect to MySQL, as well as the MySQL connector:

https://docs.microsoft.com/en-us/power-query/connectors/mysqldatabase

 

In other words, being able to connect using MySQL Workbench doesn't establish that you've met the requirements to connect from either Power BI Desktop or the Power BI service.

 

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

I tried this and it worked perfectly. I like the Datamart feature but the bugs make it a bit tricky to use.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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