picodb(mssql): support all MSSQL pdo drivers
For MSSQL make all connection attributes optional. Handle differing DB connection params based on driver used. connection can be made via ODBC DSN or server/hostname username/password can be embedded in DSN definition or simply omitted and single-signon will be attempted.
This commit is contained in:
committed by
Frédéric Guillot
parent
bb7f8b4621
commit
ee6cdb3565
@@ -32,6 +32,10 @@ class DriverFactory
|
||||
switch ($settings['driver']) {
|
||||
case 'sqlite':
|
||||
return new Sqlite($settings);
|
||||
case 'odbc':
|
||||
return new Mssql($settings);
|
||||
case 'dblib':
|
||||
return new Mssql($settings);
|
||||
case 'mssql':
|
||||
return new Mssql($settings);
|
||||
case 'mysql':
|
||||
|
||||
Reference in New Issue
Block a user