H2 database : JdbcSQLNonTransientConnectionException: Version mismatch #10291
Unanswered
Donadominic
asked this question in
Q&A
Replies: 1 comment 3 replies
-
We can't know a H2 issue. This seems out of project scope. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to view the data stored in h2 database.
So I changed h2 database mode to automatic mixed mode :
jdbcUrl: ${SW_STORAGE_H2_URL:jdbc:h2:/test;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1}
And it is listening to a port. But when I open the url localhost:port it is showing this error:
90047KVersion mismatch, driver version is "1195725856" but server version is "20"▒▒▒▒_▒▒org.h2.jdbc.JdbcSQLNonTransientConnectionException: Version mismatch, driver version is "1195725856" but server version is "20" [90047-212]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:107)
at java.lang.Thread.run(Thread.java:750)
h2-2.1.212.jar is the h2 jar file in oap-libs directory.
How to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions