Set the right connectionparams