This part discloses how to get the rundown of all information bases in an occurrence from the OrientDB order line.
The accompanying assertion is the fundamental grammar of the data order.
LIST DATABASES
Note −You can utilize this order exclusively subsequent to interfacing with a nearby or far off worker.
Example
Prior to recovering the rundown of information bases, we need to associate with the localhost worker through the far off worker. It is needed to remind that the username and secret key for associating with the localhost case is visitor and visitor separately, which is designed in the orintdb/config/orientdb-worker config.xml document.
You can utilize the accompanying order to interface with the localhost data set worker case.
orientdb> connect remote:localhost guest
It will ask the secret word. According to the config document secret phrase for visitor is likewise visitor. On the off chance that it is effectively associated, you will get the accompanying yield.
Connecting to remote Server instance [remote:localhost] with user 'guest'...OK
orientdb {server = remote:localhost/}>
Subsequent to associating with the localhost information base worker you can utilize the accompanying order to list the data sets.
orientdb {server = remote:localhost/}> list databases
In the event that it is effectively executed, you will get the accompanying yield −
Found 6 databases:
* demo (plocal)
* s2 (plocal)
* s1 (plocal)
* GratefulDeadConcerts (plocal)
* s3 (plocal)
* sample (plocal)
orientdb {server = remote:localhost/}>