[CONJ-910] mysql: db url scheme is not supported in v3 Created: 2021-12-23 Updated: 2022-01-10 Resolved: 2022-01-10 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | configuration |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleg Alexeyev | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I wonder if there are strong reasons to drop mysql: db url scheme? As many people use MariaDB driver as a drop-in replacement for Oracle MySQL one. At least it would be really nice if there would be an option to enable that. |
| Comments |
| Comment by Diego Dupin [ 2022-01-10 ] |
|
There has been many times when mysql driver is present in classpath and when using `jdbc:mysql`, the driver used is randomly mariadb or mysql. 3.0 is a rewrite of driver, resulting in dropping those edge case, but to avoid incompatibility, or at least provide a workaround, `jdbc:mysql` will still be possible if adding 'permitMysqlScheme' in connection string. |