Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 799 Bytes

Console-Command-List-Databases.md

File metadata and controls

38 lines (25 loc) · 799 Bytes
search
keywords
console
command
list
database
LIST DATABASES

Console - LIST DATABASES

Displays all databases hosted on the current server. Note that this command requires you connect to the OrientDB Server.

Syntax

LIST DATABASES

Example

  • Connect to the server:

    orientdb> CONNECT REMOTE:localhost admin admin_password
    
  • List the databases hosted on the server:

    orientdb {server=remote:localhost/}> LIST DATABASES
    
    Found 4 databases:
    
    * ESA (plocal)
    * Napster (plocal)
    * Homeland (plocal)
    * GratefulDeadConcerts (plocal)
    

For more information on other commands, see Console Commands.