Home GnuPG

Distinguish more carefully between different kinds of MySQL connection errors
f43291e99d36Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Distinguish more carefully between different kinds of MySQL connection errors

Summary:
Ref T10195. Root issue: if the MySQL user doesn't have permission to access all the databases, we give them a fairly generic error instead of telling them exactly what's wrong.

Currently, we throw a generic exception on connection failure. Instead, throw a more granular one, and distinguish between bad credentials and no access.

Test Plan: See next revision.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10195

Differential Revision: https://secure.phabricator.com/D15078

Details

Provenance
epriestley <git@epriestley.com>Authored on Jan 21 2016, 9:25 PM
Parents
rPHUTILb4edc1af066d: Give PhutilRope and LinesOfALarge a couple new capabilities
Branches
Unknown
Tags
Unknown

Event Timeline