Skip to content

Conversation

@daidehu6831
Copy link

The original InfluxDB configuration use the wrong JDBC driver (MongoDB) . This PR fixes connection issues with InfluxDB v3 by properly implementing support for the Arrow Flight SQL JDBC driver. InfluxDB v1 and v2 are not suported.

@ryanhamilton
Copy link
Collaborator

Thanks for the pull request.

Did these settings work for you?

I had tried to get the new InfluxDB working before but the main problem was getting a "fat jar" with all the dependencies built inside it.

Any reason you chose version 12? Looks like the latest is 18.

@daidehu6831
Copy link
Author

Yes, it works.
Using v12 is just a continuation of the previous version. There's no particular reason.
I'm not very proficient in Java, just degug it to work.

I run with influxdb 3 core (version=3.7.0) .

# java -version
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (build 17.0.13+11, mixed mode, sharing)

run the "fat jar":

# java --add-opens=java.base/java.nio=ALL-UNNAMED -jar qstudio.jar

add server configure:
shot1765157795365

influxdb connected, server tree shows database schema:

shot17651579143039

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

Successfully merging this pull request may close these issues.

2 participants