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
Tamas_Praviczki
Frequent Visitor

SQL DB connection issue (MySQL/MariaDB)

Hi everyone!

 

I would like to connect to a MySQL DB but I cannot. I tried it as MySQL and MariaDB as well.

 

Power BI version2.122.746.0 64-bit (2023. october)

MySQL connector-net version: 8.1.0 (latest)

MariaDB connector-odbc version: 3.1.19-win64 (latest)

 

If I try to connect as MySQL DB, the answer will be this one:

p1.JPG

As a matter of fact, I tried it with older version as well (8.0.28), but in the end the answer was there is an issue with nulls or something like that. 

 

If I try to connect as MariaDB, the answer will be this one in the Power Query: 

p2.JPG

I know the problem is null values, but how can I deal with it? MySQL would be better because I could run a query before loading. 

 

Thanks for any advice!

 

Kind regards,

Tamas Praviczki 

2 REPLIES 2
lbendlin
Super User
Super User

Downgrade to 8.0.28

It doesn't work. I tried it and it couldn't deal with nulls. I mean Power BI doesn't connect to DB. However, with HeidiSQL I can read the table without any issue and it contains nulls. 

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.