We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95bce1e commit 35c2806Copy full SHA for 35c2806
src/Connectors/ODBCZOSConnector.php
@@ -17,7 +17,7 @@ class ODBCZOSConnector extends ODBCConnector
17
protected function getDsn(array $config)
18
{
19
$dsnParts = [
20
- "odbc:DRIVER=$driverName",
+ 'odbc:DRIVER=%s',
21
'Database=%s',
22
'Hostname=%s',
23
'Port=%s',
@@ -28,6 +28,7 @@ protected function getDsn(array $config)
28
];
29
30
$dsnConfig = [
31
+ $config['driverName'],
32
$config['database'],
33
$config['host'],
34
$config['port'],
0 commit comments