added info for output when getting config or mysql fails