Let use hostname of mysql from configuration file