Complete DSN for PDO_IBM connections
This commit is contained in:
parent
32be149f95
commit
ca2c195c8f
@ -16,7 +16,7 @@ class IBMConnector extends DB2Connector
|
||||
*/
|
||||
protected function getDsn(array $config)
|
||||
{
|
||||
$dsn = "ibm:{$config['database']}";
|
||||
$dsn = "ibm:DRIVER={$config['driverName']};DATABASE={$config['database']};HOSTNAME={$config['host']};PORT={$config['port']};PROTOCOL=TCPIP;";
|
||||
|
||||
return $dsn;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user