Orient DB - create orient db with password and check if one available using JAVA
问题 I saw that we can create orient db using: ODatabaseDocumentTx db2 = new ODatabaseDocumentTx ( "local:C:/temp/db/scratchpad" ).create(); But how can we create orientDB database using password with REMOTE type. And does that checks if a database exists and say. Or if found will it overwrite? 回答1: Maybe you're looking for this: void createDB(){ new OServerAdmin("remote:localhost") .connect("root", "rootPassword") .createDatabase("databaseName", "graph", "plocal").close(); } See here. UPDATE: In