Debuginfo

思考とアウトプット

OrientDBでデータベースの作成方法

Rexster REST経由だとデータベースは作れないようなのでconsole.shを起動してcreate databaseをたたく。local:.../testの場合test以下にファイルが作成されます。ドキュメント通りにやるとtest/test Directoryができて残念な感じになるので注意。

create database []

See also : http://code.google.com/p/orient/wiki/ConsoleCommandCreateDb

> cd $HOME/GraphDB/orientdb-graphed-1.1.0/bin
> ./console.sh
OrientDB console v.1.1.0 (build @BUILD@) www.orientechnologies.com
Type 'help' to display all the commands supported.

Installing extensions for GREMLIN language v.2.1.0-SNAPSHOT

orientdb> create database  local:/Users/kamesho/GraphDB/orientdb/databases/test admin admin local
Creating database [local:/Users/kamesho/GraphDB/orientdb/databases/test] using the storage type [local]...
Database created successfully.

Current database is: local:/Users/kamesho/GraphDB/orientdb/databases/test