Database credentials swap