HomeDocumentationAPI Reference
Log In

Changing PrivX database name, username or password

If the database containing PrivX data has changed, or the username or password have been changed, PrivX can be reconfigured to connect to a new database with new credentials.

Login as root to the PrivX host

[[email protected] /] systemctl stop privx
[[email protected] /]# /opt/privx/bin/keyvault-tool -name db-name -value new_name -public set-passphrase
[[email protected] /]# /opt/privx/bin/keyvault-tool -name db-user -value new_username -public set-passphrase
[[email protected] /]# /opt/privx/bin/keyvault-tool -name db-password -value new_password -public set-passphrase
[[email protected] /]# systemctl start privx



To change the database address, open /opt/privx/etc/shared-.config.toml and edit the "Database settings" section.