Arangosh Examples

    • : name of the database to connect to
    • —server.username <string>: database username
    • —server.authentication <bool>: whether or not to use authentication

    For example, to connect to an ArangoDB server on IP 192.168.173.13 on port8530 with the user foo and using the database test, use:

    arangosh will then display a password prompt and try to connect to the server after the password was entered.

    If the server endpoint is configured for SSL then clients such as _arangosh_need to connect to it using an SSL socket as well. For example, use http+ssl://as schema in —server.endpoint for an SSL-secured HTTP connection.

    The schema of an endpoint is comprised of a protocol and a socket in the formatprotocol+socket://. There are alternatives and shorthands for some combinations,ssl:// is equivalent to and https:// for instance:

    Using Arangosh

    Show execution results

    Hide execution results

    arangosh also provides auto-completion. Additional information on available commands and methods is thus provided by typing the first few letters of avariable and then pressing the tab key. It is recommend to try this with enteringdb. (without pressing return) and then pressing tab.