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
Anonymous
Not applicable

Unable to connect to data source using port in serveraddress

We created a gateway on the server where our mysql database is located. Added a datasource using the server address, for example:

serv.server.biz

Data source is connected; doesnt give any errors.

 

To get data from our server to make a report I use the serveraddress with port number, so for example:

serv.server.biz:23306

Pic for extra explanation:

2020-04-17 11_04_01-My Notebook - OneNote.png

Now if i want to use our gateway to refresh, it first gives me an error that the datasource isnt added to the gateway.
So I click to add it, but it gives me an error: Unable to connect to the data source undefined, error code -2147467259, Unable to connect to any of the specified MySQL hosts

 

So my question is, what is wrong here exactly? How do I fix it? 

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Have you installed and configured data gateway successfully? If you have, can you connect to serv.server.biz:23306 from the server which installed the gateway?

 

Regards,

Jimmy Tao

nandukrishnavs
Community Champion
Community Champion

@Anonymous  Try to use IP address instead of serv.server.biz:23306.


Regards,
Nandu Krishna

Anonymous
Not applicable

@nandukrishnavs Tried that, but connection sadly only works if i add the port number, even when using IP address...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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