Skip to main content
Version: v38

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.

To do this, gain root terminal access to a PrivX Server, then set the new values as follows:

sudo systemctl stop privx
sudo /opt/privx/bin/keyvault-tool -name db-name -value new_name -public set-passphrase
sudo /opt/privx/bin/keyvault-tool -name db-user -value new_username -public set-passphrase
sudo /opt/privx/bin/keyvault-tool -name db-password -value new_password -public set-passphrase
sudo systemctl start privx
info

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