Allow users to set max MySQL connections and connection lifetime; set a sane default for max connections if it's not present.