The first approach to OrientDB after starting it, is of course through its console. To start the console, if you followed the installation steps in Chapter 1, Installing OrientDB, all you have to do is just type as follows:
console
This is because you have to set both the ORIENTDB_HOME
and the PATH
shell variables, if you are using a *nix system, to set the execution flag of the *.sh
files in the ORIENTDB_HOME/bin
path.
Now you can connect to an instance of a running OrientDB server.
If you started the server, you should connect to it by typing (inside the console tool):
connect remote:localhost/demo admin admin
The connect
command follows the given pattern:
connect remote:<host>[:<port>] root <root-password>
Tip
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register...