-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
Description
That's what this documentation claims docs/jdbc.md.
Which may be correct if you know how to get the actual dependency loaded (e.g. there's a native maven profile which might achieve it), however, I couldn't get it to work without actually adding the mysql driver as a dependency in my project, via:
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>9.4.0</version> <!-- version is in line with mysql-socket-factory-connector-j-8 -->
<scope>compile</scope>
</dependency>
<!-- this you'll need anyhow -->
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>mysql-socket-factory-connector-j-8</artifactId>
<version>1.25.3</version>
</dependency>
Only then could I create and use a fat (uber) jar that worked. Also, the mysql setup instructions differ in that respect from all other DB vendor instructions.
Potential Solution
Just state that also mysql will need the driver and recommend a version.
Additional Details
No response
Metadata
Metadata
Assignees
Labels
type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.