added error output when mysql secure fails