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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Tantawyy91
Regular Visitor

How to connect to MySQL database despite the changing of the ip address

Good Day,

 

I'm trying to connect to a MySQL database on a linux server and I'm already connecting to it once by whiting my IP but the problem is that my IP is always changing can anyone support me and tell me how to solve that because I don't want to keep asking my IP address.

 

Thanks

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Tantawyy91 

 

You can use a Dynamic DNS service see this The 6 Best Free Dynamic DNS Providers (makeuseof.com)

 

I've used Dynu in the past for similar reasons to yours.

 

If you set up a Dynamic DNS record, for example tantawyy.domain.com then the MySQL server can allow that same DNS host as an allowed incoming connection.

 

On your own computer you would need to install a software client that checks your public IP address and then updates that in the DDNS system.  At least that's the way I did it when I used Dynu.

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
Tantawyy91
Regular Visitor

Dear PhilipTreacy,

 

Thanks for answering my question, I'll give it a try and hope it works fine.

PhilipTreacy
Super User
Super User

Hi @Tantawyy91 

 

You can use a Dynamic DNS service see this The 6 Best Free Dynamic DNS Providers (makeuseof.com)

 

I've used Dynu in the past for similar reasons to yours.

 

If you set up a Dynamic DNS record, for example tantawyy.domain.com then the MySQL server can allow that same DNS host as an allowed incoming connection.

 

On your own computer you would need to install a software client that checks your public IP address and then updates that in the DDNS system.  At least that's the way I did it when I used Dynu.

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors