The connection information is probably not valid for the remote database. That would cause that error. Looking at that connection file. I'm pretty sure it doesn't have the correct credentials for your remote database. Update it with the correct database information for your remote database and it should start working.