Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default mysql-connector-java version is 5.1.32 #4

Open
martinmosegaard opened this issue Sep 7, 2018 · 0 comments
Open

Default mysql-connector-java version is 5.1.32 #4

martinmosegaard opened this issue Sep 7, 2018 · 0 comments

Comments

@martinmosegaard
Copy link

When I did a mvn spring-boot:run, I got version 5.1.32 of the mysql-connector-java. It caused an error:

java.sql.SQLException: Unknown system variable 'tx_read_only'

If I looked at metabase/metabase#6984
I could fix it by specifying a later version in the pom.xml:

$ git diff pom.xml
diff --git a/pom.xml b/pom.xml
index f2c7be4..c8a878f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,8 @@
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
-        </dependency>
+            <version>5.1.45</version>
+       </dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant