no, you should not change the link to the connection file, that will change the names of the variables being created for the connection and cause the code to break.
you should edit the connection file that is being used to connect to the Remote MySQL Server.