core/src/main/java/com/orientechnologies/orient/core/db/OrientDB.java
public void create(String database, ODatabaseType type, OrientDBConfig config) {
    this.internal.create(database, serverUser, serverPassword, type, config);
  }
public void create(String database, ODatabaseType type, OrientDBConfig config) {
    this.internal.create(database, serverUser, serverPassword, type, config);
  }
Create a new database

@param database database name
@param type     can be plocal or memory
@param config   custom configuration for current database