Multiple options available
1. You can add your isp subnet (not exact ip address)
For CPanel it is done by adding ip's like %.%.%.% or 192.168.1.% where you should replace "192.168.1." with ip assigned by your isp's. Please go to your Control Panel, find Database connection sections and specify the above IP to the list of allowed IPs.
2. You can work via PHP MySQL Bridge
It doesn't have ip blocking, but little different behavior - at least give it a try.
3. Work via SSH tunnel
This is a bit more complicated, will work if you have shell access to your box (assuming thats unix-based system – linux, bsd etc)