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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Super User
Super User

@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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors