contrast with or contrast to

pre: water flow regulating valve
next: mysql many connection errorssql too many connections