Cannot establish a connection to orientdb using jd

2019-08-30 00:38发布

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?

2条回答
你好瞎i
2楼-- · 2019-08-30 00:46

the problem should be in the connection port. You are using 2480 (HTTP port) instead of 2424 (binary protocol).

查看更多
孤傲高冷的网名
3楼-- · 2019-08-30 00:49

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.

查看更多
登录 后发表回答