Moving MySQL to another server without updating connection strings
If you use "localhost" in connection string then the following may work:

edit hosts file and change the line

127.0.0.1   localhost


to

X.X.X.X localhost //( your new ip)


and restart the local application machine.