diff --git a/lib/Query/DataQuery.php b/lib/Query/DataQuery.php index 1a7e2ae..c1296fd 100644 --- a/lib/Query/DataQuery.php +++ b/lib/Query/DataQuery.php @@ -154,6 +154,8 @@ private function connectToDatabase() "tablePrefix" => "", "driverOptions" => array() ); + $parameters['primary'] = $parameters; + $parameters['replica'] = [$parameters]; if ($this->properties[DB::DRIVER] == 'mysql') { if ($this->properties[DB::SSL_CA]) {