mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
debug connection
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
cce5822f81
commit
7df4bb7b01
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ abstract class AbstractDatabase {
|
|||
}
|
||||
$connectionParams = array_merge($connectionParams, $configOverwrite);
|
||||
$connectionParams = array_merge($connectionParams, ['primary' => $connectionParams, 'replica' => [$connectionParams]]);
|
||||
var_dump($connectionParams);
|
||||
$cf = new ConnectionFactory($this->config);
|
||||
$connection = $cf->getConnection($this->config->getValue('dbtype', 'sqlite'), $connectionParams);
|
||||
$connection->ensureConnectedToPrimary();
|
||||
|
|
|
|||
Loading…
Reference in a new issue