You can just update the connection file in the Connections folder. That is the only location where the database connection is made.
Often that error occurs because of a server configuration issue. You may want to contact your hosting provider and have them look into it for you as well.