Allow MySQL configuration from an URL (from config file or environment)

It is really convenient to be able to configure its application from
the environment, by this way there is no hard reference to crendentials
in the files of the application itself, everything can be managed at the
deployment.