feat: invalid hostname and password error messages (MySQL) (#14089)

* custom errors for mySQL

* initial custom errors and tests for MySQL

* revisions
This commit is contained in:
AAfghahi
2021-04-13 17:42:31 -04:00
committed by GitHub
parent 353038e59e
commit b77477a9dd
5 changed files with 128 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ running a command. Please reach out to your administrator.
Superset encountered an unexpected error.
```
Someething unexpected happened in the Superset backend. Please reach out
Something unexpected happened in the Superset backend. Please reach out
to your administrator.
## Issue 1012
@@ -147,5 +147,13 @@ that the username is typed correctly and exists in the database.
The password provided when connecting to a database is not valid.
```
The user provided a password that is incorrect. Please check that the
password is typed correctly.
The user provided a password that is incorrect. Please check that the password is typed correctly.
## Issue 1014
```
Either the username or the password used are incorrect.
```
Either the username provided does not exist or the password was written incorrectly. Please
check that the username and password were typed correctly.