The OrientDB Console is a Java Application made to neutralize OrientDB data sets and Server occurrences. There are a few comfort modes that OrientDB upholds.
Interactive Mode
This is the default mode. Simply dispatch the support by executing the accompanying content receptacle/console.sh (or canister/console.bat in MS Windows frameworks). Try to have execution authorization on it.
OrientDB console v.1.6.6 www.orientechnologies.com
Type 'help' to display all the commands supported.
orientdb>
When done, the support is prepared to acknowledge orders.
Batch Mode
To execute orders in bunch mode run the accompanying canister/console.sh (or container/console.bat in MS Windows frameworks) content passing all the orders isolated with semicolon ";".
orientdb> console.bat "connect remote:localhost/demo;select * from profile"
Or then again call the reassure content passing the name of the record in content arrangement containing the rundown of orders to execute. Orders should be isolated with semicolon ";".
Example
Command.txt contains the rundown of orders which you need to execute through OrientDB reassure. The accompanying order acknowledges the group of orders from the command.txt record.
orientdb> console.bat commands.txt
In cluster mode, you can overlook blunders to allow the content to proceed with the execution by setting the "ignoreErrors" variable to valid.
orientdb> set ignoreErrors true
Enable Echo
At the point when you run support orders in pipeline, you should show them. Empower "reverberation" of orders by setting it as property toward the start. Following is the linguistic structure to empower reverberation property in OrientDB reassure.
orientdb> set echo true