Wednesday, August 10, 2016

Arangodb3 basic shell tutorials:

Hope arangodb is already installed !

1) check if the arangodb is already installed ?

curl http://localhost:8529/_api/version   => here it will give the details of the arangodb version in json format.

2) login to arangodb shell

arangosh    =>  provide the arangodb root password

3) create a user

require ("org/arangodb/users").save("khirod","khirod");

4) Grant _system access to user khirod

require("org/arangodb/users").grantDatabase("khirod","_system");


next  coming soon ....



No comments:

Post a Comment