问题
I'm newbie to the orientdb, I'm using netbeans's (add new connection wizard) to add a connection to the orientdb, I used orientdb-jdbc-2.0.2-all.jar as a jdbc driver, but I got the following error after clicking on test connection
Snapshot of the error
I made sure that the database is connected and everything is right, any idea?
回答1:
The URL should be jdbc:orient:remote:localhost/Sensor_Data
Look at the documentation: http://www.orientechnologies.com/docs/last/orientdb-jdbc.wiki/Home.html#first-get-a-connection.
回答2:
the problem should be in the connection port. You are using 2480 (HTTP port) instead of 2424 (binary protocol).
来源:https://stackoverflow.com/questions/28682556/cannot-establish-a-connection-to-orientdb-using-jdbc-driver