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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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