diff --git a/library/Icinga/Data/Db/DbConnection.php b/library/Icinga/Data/Db/DbConnection.php index a5548209c..e62e24464 100644 --- a/library/Icinga/Data/Db/DbConnection.php +++ b/library/Icinga/Data/Db/DbConnection.php @@ -136,6 +136,10 @@ class DbConnection implements Selectable, Extensible, Updatable, Reducible, Insp ); $this->dbType = strtolower($this->config->get('db', 'mysql')); switch ($this->dbType) { + case 'mssql': + $adapter = 'Pdo_Mssql'; + $adapterParamaters['pdoType'] = $this->config->get('pdoType', 'dblib'); + break; case 'mysql': $adapter = 'Pdo_Mysql'; /*