连接到嵌入式orientdb服务器

时间:2012-05-21 17:05:21

标签: orientdb

我有一个带有此默认配置的嵌入式服务器:orientdb-server-config.xml我使用maven的1.0版本。 我无法从控制台连接到它。

以下是我尝试过的命令:connect remote:localhost/temp admin admin

Disconnecting from the database [null]...OK Connecting to database [remote:localhost/temp] with user 'admin'... Error: com.orientechnologies.orient.enterprise.channel.binary.ONetworkProtocolException: Binary protocol is incompatible with the Server connected: client=9, server=12

但我有这些听众:

  <listener protocol="binary" port-range="2424-2430" ip-address="0.0.0.0"/>
  <listener protocol="cluster" port-range="2434-2440" ip-address="0.0.0.0"/>
  <listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0">

此存储空间:<storage loaded-at-startup="true" userPassword="admin" userName="admin" path="memory:temp" name="temp"/>

一切都像默认的orientdb-server-config.xml

如何从控制台连接到此嵌入式数据库?

启动输出:

2012-05-21 06:57:37:496 INFO OrientDB Server v1.0 is starting up... [OServer]
2012-05-21 06:57:38:003 INFO -> Loaded memory database 'temp' [OServer]
2012-05-21 06:57:38:038 INFO Listening binary connections on 0.0.0.0:2424 [OServerNetworkListener]
2012-05-21 06:57:38:039 INFO Listening cluster connections on 0.0.0.0:2434 [OServerNetworkListener]
2012-05-21 06:57:38:040 INFO Listening http connections on 0.0.0.0:2480 [OServerNetworkListener]
2012-05-21 06:57:38:062 INFO OrientDB Server v1.0 is active. [OServer]

更新:正在使用[OServer] OrientDB Server v1.0rc9

UPDATE2:问题是我在服务器上安装了1.0版,并使用了1.0rc9的控制台客户端。但是现在一切似乎都正常,当服务器运行1.0并且我尝试使用客户端控制台1.0。谢谢!

0 个答案:

没有答案
相关问题