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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
akwang
Advocate II
Advocate II

Cannot Connect to MySQL Database

Hi What would be my server name?linden.jpg

 

i tried localhost, localhost:3306 and still unable to connect.

1 ACCEPTED SOLUTION


@akwang wrote:

hi smoupre,

 

i did that and still i cannot connect.

 

Screenshot_1.jpgScreenshot_2.jpg


@akwang

For above error, please ensure that you've specified the correct server name, it could be servierIP:portNo("10.157.19.199:3306") or ServerName. Also ensure that the MySQL Service is running on the server you're connecting to.

Capture.PNG

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

Last time I had an issue connecting to MySQL with Power BI, I had to make sure that I was not trying to use Windows credentials but rather database credentials. And it looks like localhost is your server name.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

hi smoupre,

 

i did that and still i cannot connect.

 

Screenshot_1.jpgScreenshot_2.jpg


@akwang wrote:

hi smoupre,

 

i did that and still i cannot connect.

 

Screenshot_1.jpgScreenshot_2.jpg


@akwang

For above error, please ensure that you've specified the correct server name, it could be servierIP:portNo("10.157.19.199:3306") or ServerName. Also ensure that the MySQL Service is running on the server you're connecting to.

Capture.PNG

I can recommend setting up ODBC driver on the machine running mysql - such as  https://dev.mysql.com/downloads/connector/odbc/5.3.html 

Any tutorial on how to use the ODBC?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.