Connect to Distributed database

Hi,

We are trying to connect to OrientDB Distributed database. Currently using the below way to connect to the database:

let orientDB = OrientDB({
host: config.database.DB_HOST,
port: config.database.DB_PORT,
username: config.database.DB_USERNAME,
password: config.database.DB_PASSWORD
}).use({
name: config.database.DB_NAME,
username: config.database.DB_USERNAME,
password: config.database.DB_PASSWORD
});

As per documentation, we need to use as remote:server1:2424;server2:8888;server3/mydb but above configuration does not seems to support this parameter.

Can someone point me what should be the configuration for connecting to Distributed DB in NodeJS or share me a pointer to documentation ?

Regards
Pavan

Hi @pvjpavankumar

here it’s the documentation

http://orientdb.com/docs/3.0.x/orientjs/Client.html#configuration-with-orientdb-cluster

Thanks

Hi @wolf4ood, Thanks for the link. This helps.