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)
|
protected function getDsn(array $config)
|
||||||
{
|
{
|
||||||
$dsnParts = [
|
$dsnParts = [
|
||||||
"odbc:DRIVER=$driverName",
|
'odbc:DRIVER=%s',
|
||||||
'Database=%s',
|
'Database=%s',
|
||||||
'Hostname=%s',
|
'Hostname=%s',
|
||||||
'Port=%s',
|
'Port=%s',
|
||||||
@ -28,6 +28,7 @@ class ODBCZOSConnector extends ODBCConnector
|
|||||||
];
|
];
|
||||||
|
|
||||||
$dsnConfig = [
|
$dsnConfig = [
|
||||||
|
$config['driverName'],
|
||||||
$config['database'],
|
$config['database'],
|
||||||
$config['host'],
|
$config['host'],
|
||||||
$config['port'],
|
$config['port'],
|
||||||
|
Loading…
Reference in New Issue
Block a user