Allow users to set max MySQL connections and connection lifetime; set a sane default for max connections if it's not present.
This adds a new configuration option, socket-path, instead of using host.