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

Connect MySQL with Power BI problem about credential

Hello guys, im trying to connect my company MySQL to Power BI but stuck at this step
"we couldn't authenticate with the credentials provided. please try again"
I'm pretty sure the credentials information are correct. Anyone please help me how to fix this, i have no clue where to start
Thank you
1.jpg

6 REPLIES 6
amitchandak
Super User
Super User

@lehoang4471 , Please install latest .net driver and try again

https://dev.mysql.com/downloads/connector/net/

 

Also check if MySQL is limiting access based on IP. If yes, then you need to get your ip added

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your answer, but unfortunately this won't help
I have installed .net driver before i tried to connect

And may i ask, what do you mean about limiting access based on IP?
I'm already accessed the mysql on the computer installed Power BI
and where do i add my ip in Power Bi?

@lehoang4471 , if on the computer where you have power bi, you are able to access the MySQL using MySQL browser, then it is not IP related issue.

 

refer these for ip

https://stackoverflow.com/questions/46629355/how-to-list-the-allowed-ip-that-can-login-mysql

https://linuxize.com/post/mysql-remote-access/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

oh thank you so i have installed .net and not the ip problem
at least we can eliminate 2 problems so far, thank you

but I still need to find another solution

@lehoang4471 , Check user if the password and the third option(I know you checked that, may be space in password, in case of copy paste).  Maybe one of them is wrong.

Also which version of Power BI and Which version of MySQL, you are using?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

i'm using

Power BI Version: 2.99.862.0 64-bit (November 2021)

MySQL workbench 8.0 version 8.0.26 build 972499 CE (64 bits)

and yea, i have checked the password and user name several times 

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