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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.