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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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