Cannot establish a connection to orientdb using jdbc driver?

℡╲_俬逩灬. 提交于 2019-12-12 04:57:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!