Note that there are some explanatory texts on larger screens.

plurals
  1. POConnect to embedded orientdb server
    primarykey
    data
    text
    <p>I have a embedded server with this default config: orientdb-server-config.xml I use version 1.0 from maven. I'm having trouble connecting to it from the console.</p> <p>Here is the command I tried: <code>connect remote:localhost/temp admin admin</code></p> <p><code>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</code></p> <p>But I have these listeners:</p> <pre><code> &lt;listener protocol="binary" port-range="2424-2430" ip-address="0.0.0.0"/&gt; &lt;listener protocol="cluster" port-range="2434-2440" ip-address="0.0.0.0"/&gt; &lt;listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0"&gt; </code></pre> <p>And this storage: <code>&lt;storage loaded-at-startup="true" userPassword="admin" userName="admin" path="memory:temp" name="temp"/&gt;</code></p> <p>Everything is like the default orientdb-server-config.xml</p> <p>How do I connect to this embedded database from the console?</p> <p>Startup output:</p> <pre><code>2012-05-21 06:57:37:496 INFO OrientDB Server v1.0 is starting up... [OServer] 2012-05-21 06:57:38:003 INFO -&gt; 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] </code></pre> <p><strong>UPDATE:</strong> it's working with <code>[OServer] OrientDB Server v1.0rc9</code></p> <p><strong>UPDATE2:</strong> the issue was that I had version 1.0 in the server and used the console client from 1.0rc9. But now everything seems ok when server is running 1.0 and i try with client console 1.0. Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload