what is the root password?

7,035 views
Skip to first unread message

Thiago Souza

unread,
Nov 6, 2013, 10:07:19 AM11/6/13
to orient-...@googlegroups.com
Hello,

   I just downloaded OrientDB for the first time and I'm a little bit confused with the root password. It seems that the default password isn't "root".
   I've added the following line: <user resources="*" password="admin" name="admin"/>. With this, I can succesfully log in in server management (well, at least most of the time it logs in) but can't create a database. Please help.

Thanks

Andrey Lomakin

unread,
Nov 6, 2013, 11:11:51 AM11/6/13
to orient-database
Hi,
You should start server, stop it then you will have following line in config/orientdb-server-config.xml 
 <user resources="*" password="xxxxx" name="root"/>

that is root user and password,


--
 
---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

Julien L.

unread,
Nov 6, 2013, 11:15:34 AM11/6/13
to orient-...@googlegroups.com
Once you've unziped OrientDB, start and stop the server one time (the default password for root is generated at first launching)

Next, open the file conf/orientdb-server-config.xml.

You should have a block like that:

<users>
       
<user name="root" password="QSDJQS7YDQSIODNL2NSJDKSdsjfkdshIQSUDBSQD" resources="*"/>
       
<user name="guest" password="guest" resources="connect,server.listDatabases,server.dblist"/>
</users>

The default password is in the password field (it's a plain text password).
You can simply replace it by the password of your choice, and restart the server.

Eg:
<users>
        <user name="root" password="root" resources="*"/>
        <user name="guest" password="guest" resources="connect,server.listDatabases,server.dblist"/>
</users>

Naga Jothi

unread,
Feb 16, 2015, 11:30:13 PM2/16/15
to orient-...@googlegroups.com
thank you... its working... thank u so much...

じょいすじょん

unread,
Apr 3, 2017, 6:40:15 PM4/3/17
to OrientDB, yotsu...@gmail.com
WOW. Amazingly simple and yet HARD to find out. UGH.
Thanks!!!

kim jinil

unread,
Jan 4, 2018, 4:43:37 AM1/4/18
to OrientDB
기본 비밀번호 찾는데 많은 시간을 투자했는데  덕분에 알게되었습니다.

감사합니다.  Thanks


-----------추신

 config/orientdb-server-config.xml    이파일을 직접수정하는거 외에 다른 방법이 있을까요?


odbuser

unread,
Jan 10, 2018, 10:43:30 PM1/10/18
to orient-...@googlegroups.com
I think the only way to change the password is to edit the config file.  You can change it after the first startup to clear text.  If you want to change it to an encrypted String, you'll need to encrypt it with a supported algorithm and paste it into the  password field (with the algorithm preceding the encrypted password e.g. "{PBKDF2WithHmacSHA256}").

I don't know if there's a way to manage the config file via the API.
Reply all
Reply to author
Forward
0 new messages