diff --git a/Connection.php b/Connection.php index 83aedfe..c441233 100644 --- a/Connection.php +++ b/Connection.php @@ -42,6 +42,16 @@ class Connection extends \yii\db\Connection */ private $_configuration; + /** + * @inheritdoc + */ + public function init() + { + $this->setDriverName($this->driverName); + + parent::init(); + } + /** * @inheritdoc */ @@ -149,4 +159,4 @@ public function transaction(callable $callback, $isolationLevel = null) throw new NotSupportedException('In the clickhouse database, transactions are not supported'); } -} \ No newline at end of file +}