-
- Downloads
Ignore leading `jdbc` prefix in JDBC connection uri
Many vendor JDBC docs include a `jdbc` prefix like: `jdbc:postgresql://localhost/test`. Previously if a connection URI specified via MB_DB_CONNECTION_URI included the `jdbc` prefix, it would fail to parse. Metabase would then fallback to using H2 rather than the specified database. This commit changes the JDBC connection string regex to ignore the `jdbc` prefix when present. Fixes #8465
Please register or sign in to comment