configure remote db connection