mirror of https://github.com/nextcloud/server
Merge pull request #34152 from nextcloud/bugfix/noid/db-password-install
Do not store generated mysql password if it was not used
This commit is contained in:
commit
20b75480d0
|
@ -183,6 +183,9 @@ class MySQL extends AbstractDatabase {
|
|||
$i++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Reuse existing password if a database config is already present
|
||||
$this->dbPassword = $rootPassword;
|
||||
}
|
||||
} catch (\Exception $ex) {
|
||||
$this->logger->info('Can not create a new MySQL user, will continue with the provided user.', [
|
||||
|
|
Loading…
Reference in New Issue