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.
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.
Change directories to your installation directory.
Launch the console using the same version of
javaexecutable that Nexus is using:
java -jar nexus/lib/support/nexus-orient-console.jar
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.