【问题标题】:Cannot establish a connection to orientdb using jdbc driver?无法使用 jdbc 驱动程序建立与 orientdb 的连接?
【发布时间】:2015-02-23 20:13:01
【问题描述】:

我是 orientdb 的新手,我正在使用 netbeans 的(添加新连接向导)添加到 orientdb 的连接,我使用 orientdb-jdbc-2.0.2-all.jar 作为 jdbc 驱动程序,但我点击测试连接后出现如下错误

Snapshot of the error

我确保数据库已连接并且一切正常,知道吗?

【问题讨论】:

    标签: jdbc netbeans orientdb nosql


    【解决方案1】:

    网址应该是jdbc:orient:remote:localhost/Sensor_Data

    查看文档:http://www.orientechnologies.com/docs/last/orientdb-jdbc.wiki/Home.html#first-get-a-connection

    【讨论】:

      【解决方案2】:

      问题应该出在连接端口上。您使用的是 2480(HTTP 端口)而不是 2424(二进制协议)。

      【讨论】:

      • 同样的错误...我使用了这个 url >> jdbc:orient://localhost:2424/Sensor_Data
      猜你喜欢
      • 2011-04-20
      • 2011-03-12
      • 2018-03-25
      • 2017-06-23
      • 1970-01-01
      • 2017-02-02
      • 2017-02-07
      • 2014-07-28
      • 2020-10-29
      相关资源
      最近更新 更多