connection parameter from ini file:
database.adapter = Pdo_Ibm
database.params.host = MYHOST
database.params.port = 446 OR 447 OR 8471
database.params.dbname = MYRDB
database.params.username = MYUSER
database.params.password = MYPW
database.params.os = i5
database.params.persistent = false
I tried to the ports for DRDA 446, DDM 447 and as-database 8471, but succeeded with none of them. With DRDA and DDM I've got a license error on client side, because I've no license for DB2Client. With as-database there was no error, the socket connection was open on i5, but the connection step never terminated. The socket on i5 was still open, after I killed the session on client.
Code from Zend_Db_Adapter_Pdo_Abstract:
- Code: Select all
$this->_connection = new PDO(
Does anybody knows what service/port is used by pdo_ibm? Is it necessary to have a license for DB2Client to connect from windows to IBM i with PDO?
Thanks in advance