core/src/main/java/com/orientechnologies/orient/core/db/OrientDB.java
public ODatabaseSession open(String database, String user, String password, OrientDBConfig config) {
    return internal.open(database, user, password, config);
  }
public ODatabaseSession open(String database, String user, String password, OrientDBConfig config) {
    return internal.open(database, user, password, config);
  }
public ODatabaseSession open ( String database , String user , String password , OrientDBConfig config ) { return internal . open ( database , user , password , config ) ; }
Open a database

@param database the database to open
@param user     username of a database user or a server user allowed to open the database
@param password related to the specified username
@param config   custom configuration for current database

@return the opened database
Open a database