Accessing the OrientDB Console

What is the OrientDB Console

Nexus 3 uses several OrientDB databases. In very specific circumstances, these databases can be manipulated as advised by Sonatype support.

This article describes how to open a special command-line interface for connecting to and working with the databases used by Nexus. This interface is known as the OrientDB Console.

Caution: Using the console incorrectly can cause irreparable harm to the databases.

Launching the Console on Nexus 3.2.1 and Newer

Nexus 3.2.1 includes a single jar executable which can launch the OrientDB console.

  1. As the operating system user account that typically owns the Nexus Repository Manager process, start a terminal session on the host where Nexus is installed.

  2. Change directories to your installation directory.

  3. Launch the console using the same version of java executable that Nexus is using:

    Unix

    java -jar nexus/lib/support/nexus-orient-console.jar

    Windows

    java -jar nexus\lib\support\nexus-orient-console.jar

    You should be presented with a command-line interface such as this, ready to accept your commands:

    OrientDB console v.2.2.16 www.orientdb.com
    Type 'help' to display all the supported commands.
    orientdb> 

The nexus-orient-console.jar sets up the correct classpath to successfully launch the console. Launching the jar from another location is not supported.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk