Skip to main content

Update database credentials with a package installation

In order to update the database credentials, you can open the /etc/passbolt/passbolt.php file and edit the Datasources block:

[...]
// Database configuration.
'Datasources' => [
'default' => [
'host' => '127.0.0.1',
'port' => '3306',
'username' => 'YOUR_DATABASE_USER_USERNAME',
'password' => 'YOUR_DATABASE_USER_PASSWORD',
'database' => 'YOUR_PASSBOLT_DATABASE_NAME',
],
],
[...]

Then, you can save and quit. No restart should be needed to apply these changes.