what is the root password?

7,147 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