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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Ronniemaccagee
Frequent Visitor

MySQL: Can't get hostname for your address

Trying to connect to a My SQL database, I have the server and database name, along with a password.

 

I have it set up on a laptop but am trying to set up the connection on a mac running parrallels desktop and it is coming up with this error.

 

Unable to connect

We encountered an error while trying to connect

MySQL: Can't get hostname for your address

 

Is anyone able to help?

1 ACCEPTED SOLUTION
Ronniemaccagee
Frequent Visitor

So turns out the issue was actually the fact I was running Power Bi in Parallels on a MAC. Running power BI through an instance on AWS it let me straight in... Not sure why Parallels is stopping that connection?

View solution in original post

6 REPLIES 6
Ronniemaccagee
Frequent Visitor

So turns out the issue was actually the fact I was running Power Bi in Parallels on a MAC. Running power BI through an instance on AWS it let me straight in... Not sure why Parallels is stopping that connection?

sanimesa
Post Prodigy
Post Prodigy

@RonniemaccageeAre you able to connect to this MySQL from outside of power BI? Please try that to see if there are no fundamental issues.You should be able to 'ping' the machine where the database resides and there should be no firewall issues.

 

Also, if you can post an image of the connection parameters as you are trying (obscuring any identifying or confidential info), it may be helpful.

How would i check the connection outside of power BI?

@RonniemaccageeDo you have something like MySQL workbench or other client? Then you can try connecting with that first.

amitchandak
Super User
Super User

@Ronniemaccagee , Make sure you have the latest connector installed

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

https://www.edureka.co/community/41704/how-to-connect-to-mysql-database-from-power-bi

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

So I just double-checked I have the correct connector but no luck 😞

I also tried following your steps in your second link but still no luck. 

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.