HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

Connect to a remote MySQL Server from a dynamic IP address

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
connectaddressservermysqldynamicremotefrom

Problem

My ISP at home uses a dynamic IP address. I'm trying to access a MySQL database at work. How can I connect to it (using MySQL Workbench)?

I could grant all privileges to % so that any IP address will do, but I think this is NOT VERY SAFE. I don't know if granting privilege to my current IP Address will work.

If it does, it will still be tedious to grant privilege every time the IP changes.

Thanks in advance!

Solution

Do you have the possibility to connect to your office network using a VPN? Then you could receive a static IP address in the range of your internal network. For this one, you could easily grant the necessary privileges.

Context

StackExchange Database Administrators Q#3320, answer score: 3

Revisions (0)

No revisions yet.