How to Reset Orientdb Password
Stop the Server :
$ cd /opt/orientdb/config/
$ sudo vi orientdb-server-config.xml
## Set root password ##
Starting the Database Server :
$ cd /opt/orientdb/bin/
$ sudo ./server.sh
Stop the Server :
The shutdown.sh (shutdown.bat) script could be used to stop the server:
$ cd /opt/orientdb/bin/
$ sudo ./shutdown.sh
Server Security :
$ cd /opt/orientdb/bin/
$ sudo ./shutdown.sh
Server Security :
Server users are stored in the
config/orientdb-server-config.xml
configuration file, in the <users>
element.$ sudo vi orientdb-server-config.xml
<users>
<user resources="*" password="{PBKDF2WithHmacSHA256} YOUR PASSWORD" name="root"/>
<user resources="connect,server.listDatabases,server.dblist" password="{PBKDF2WithHmacSHA256} YOUR PASSWORD" name="guest"/>
</users>
## Set root password ##
<users>
<user resources="*" password="#New Password#" name="root"/>
<user resources="connect,server.listDatabases,server.dblist" password="{PBKDF2WithHmacSHA256} YOUR PASSWORD" name="guest"/>
</users>
Starting the Database Server :
To launch the OrientDB database server, run the following commands:
$ sudo ./server.sh
Comments
Post a Comment