Wanabo
Verified User
- Joined
- Jan 19, 2013
- Messages
- 339
Unfortunately my ip address changed. Now I have to manually edit Access Hosts for about 60 databases in DA.
I searched for a bulk solution and thought I had found one in this post: Remote mySQL server and local host
This UPDATE db SET Host='1.2.3.4' WHERE Host='localhost' looked promising.
I ran UPDATE db SET Host='new_ip' WHERE Host='old_ip' and indeed old IP's where replaced with the new IP.
But unfortunately I still could not connect with my new IP address to the databases. Restarted mysqld, no success. Rebooted my VPS, no success. So there must be something else too that need to be changed.
In DA the new ip adress is correctly shown under Access Host. When I remove the Access Host and add it again all is working fine.
Any help is appreciated.
Hint!!!! To make life easier please consider to support dyndns and simular services as Access Host. This way an IP change does not produce extra work.
I searched for a bulk solution and thought I had found one in this post: Remote mySQL server and local host
This UPDATE db SET Host='1.2.3.4' WHERE Host='localhost' looked promising.
I ran UPDATE db SET Host='new_ip' WHERE Host='old_ip' and indeed old IP's where replaced with the new IP.
But unfortunately I still could not connect with my new IP address to the databases. Restarted mysqld, no success. Rebooted my VPS, no success. So there must be something else too that need to be changed.
In DA the new ip adress is correctly shown under Access Host. When I remove the Access Host and add it again all is working fine.
Any help is appreciated.
Hint!!!! To make life easier please consider to support dyndns and simular services as Access Host. This way an IP change does not produce extra work.