Skip to content

Instantly share code, notes, and snippets.

@andrii0lomakin
Created September 6, 2013 12:45
Show Gist options
  • Select an option

  • Save andrii0lomakin/6463279 to your computer and use it in GitHub Desktop.

Select an option

Save andrii0lomakin/6463279 to your computer and use it in GitHub Desktop.
plocal move
orientdb> create database plocal:bi_new admin admin plocal
Creating database [plocal:bi_new] using the storage type [plocal]...
Database created successfully.
Current database is: plocal:bi_new
orientdb> close
Disconnecting from the database [bi_new]...
OK
orientdb> connect plocal:../bi admin admin
Connecting to database [plocal:../bi] with user 'admin'...
OK
orientdb> select from OUser
----+--------+------+-------------------------------------------------------------------------+------+-----
# |@RID |name |password |status|roles
----+--------+------+-------------------------------------------------------------------------+------+-----
0 |#5:65536|admin |{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918|ACTIVE|[1]
1 |#5:65537|reader|{SHA-256}3D0941964AA3EBDCB00CCEF58B1BB399F9F898465E9886D5AEC7F31090A0FB30|ACTIVE|[1]
2 |#5:65538|writer|{SHA-256}B93006774CBDD4B299389A03AC3D88C3A76B460D538795BC12718011A909FBA5|ACTIVE|[1]
----+--------+------+-------------------------------------------------------------------------+------+-----
3 item(s) found. Query executed in 0.003 sec(s).
orientdb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment