[CONJ-166] SQLException for "Access denied for user" does not contain the vendor code Created: 2015-07-09 Updated: 2016-01-19 Resolved: 2015-07-17 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.1.9 |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Paolo Bazzi | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Trying to connect with a wrong username or password returns an SQLException which does not contain the correct expected error code (1045). Trying with command line: Using the attached test program reproduces the error: Output MariaDB connector Output MySQL connector -> We need this error code in order to be able to detect if a connection is setup using a wrong username or password. |
| Comments |
| Comment by Diego Dupin [ 2015-07-17 ] |
|
done in next version 1.2.0 |
| Comment by Paolo Bazzi [ 2016-01-19 ] |
|
Verified with driver mariadb-java-client-1.3.3.jar and works as expected! |