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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

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

Anonymous
Not applicable

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors