mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Merge pull request #36401 from nextcloud/backport/34152/stable24
[stable24] Do not store generated mysql password if it was not used
This commit is contained in:
commit
8f3bdbd2b9
1 changed files with 3 additions and 0 deletions
|
|
@ -184,6 +184,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 a new issue