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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.