The connections as per server, so you should connect to the server, not to the database. Try doing:
*connect remote:localhost root* <yourpassword> Best Regards, Luca Garulli Founder & CEO OrientDB LTD <http://orientdb.com/> Want to share your opinion about OrientDB? Rate & review us at Gartner's Software Review <https://www.gartner.com/reviews/survey/home> On 30 September 2016 at 00:12, <[email protected]> wrote: > Hello guys, > > I'm new to OrientDB and trying to simply list connections but puzzled here > if I'm doing something wrong or is it a bug. Every time I execute "list > connections" I get an error message. I tried with root and admin users to > no avail. Here are the steps I followed: > > > iMac:developer mike$ orientdb-community-2.2.10/bin/console.sh > > > OrientDB console v.2.2.10 (build > 2.2.x@rc32d4ee06d4c38e27eb66931d027eb54854872ff; > 2016-09-15 08:47:27+0000) www.orientdb.com > > Type 'help' to display all the supported commands. > > Installing extensions for GREMLIN language v.2.6.0 > > > orientdb> *connect remote:localhost/Customers root* > > Enter password: > > > Connecting to database [remote:localhost/Customers] with user 'root'...OK > > orientdb {db=Customers}> *list indexes* > > > INDEXES > > +----+--------------+-----------------+-------+---------+--- > ----+-------------------+ > > |# |NAME |TYPE |RECORDS|CLASS |COLLATE|FIELDS > | > > +----+--------------+-----------------+-------+---------+--- > ----+-------------------+ > > |0 |accessKey |UNIQUE |8 |Account > |default|accessKey(STRING) | > > |1 |accountId |UNIQUE |8 |Account > |default|id(INTEGER) | > > |2 |dictionary |DICTIONARY |0 | |default| > | > > |3 |OFunction.name|UNIQUE_HASH_INDEX|0 |OFunction|default|name(STRING) > | > > |4 |ORole.name |UNIQUE |3 |ORole |ci > |name(STRING) | > > |5 |OUser.name |UNIQUE |3 |OUser |ci > |name(STRING) | > > |6 |purchaseKey |UNIQUE |8 |Account > |default|purchaseKey(STRING)| > > |7 |settingsKey |UNIQUE |1 |Settings > |default|key(STRING) | > > |8 |systemIP |UNIQUE |3 |systemIP > |default|ip(STRING) | > > |9 |userEmail |UNIQUE |3 |User > |default|email(STRING) | > > +----+--------------+-----------------+-------+---------+--- > ----+-------------------+ > > | |TOTAL | |37 | | | > | > > +----+--------------+-----------------+-------+---------+--- > ----+-------------------+ > > orientdb {db=Customers}> *list connections* > > > Not connected to the Server instance. You've to connect to the Server > using server's credentials (look at orientdb-*server-config.xml file) > > orientdb {db=Customers}> > > > As you can see, I am connected to the database and can run queries, but > not "list connections" one. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
