Updating method getdsn get connection parameters
This commit is contained in:
parent
95bce1ed3a
commit
35c2806fe2
@ -17,7 +17,7 @@ class ODBCZOSConnector extends ODBCConnector
|
||||
protected function getDsn(array $config)
|
||||
{
|
||||
$dsnParts = [
|
||||
"odbc:DRIVER=$driverName",
|
||||
'odbc:DRIVER=%s',
|
||||
'Database=%s',
|
||||
'Hostname=%s',
|
||||
'Port=%s',
|
||||
@ -28,6 +28,7 @@ class ODBCZOSConnector extends ODBCConnector
|
||||
];
|
||||
|
||||
$dsnConfig = [
|
||||
$config['driverName'],
|
||||
$config['database'],
|
||||
$config['host'],
|
||||
$config['port'],
|
||||
|
Loading…
Reference in New Issue
Block a user