Convert the MySQL engine to use a DB URI.
Set URI params in deterministic order.

Because URI::_server complains if the port is set when there is no host, and
the hash approach would sometimes cause the port to be set before the host.
Die on warnings.