Jira issue originally created by user suzyq:
Thanks so much for adding DB2 support to Doctrine2, it's awesome!
I'm using it to connect to a remote DB2 database, and in db2driver.php, it is expecting the 'protocol' parameter to be set. I tried the obvious, adding a database_protocol to my parameters.ini file (to match the other database things in there), but that didn't work.
I did a temporary fix of hardcoding it in the db2driver.php to be PROTOCOL=TCPIP , and it works.
So i think the proper fix would be to add the code so that database_protocol in parameters.ini is picked up.
Comment created by @beberlei:
This is primarily a DoctrineBundle bug. However i fixed it in DBAL to default to TCPIP protocol parameter now.
DB2 is not "really" supported. I have considerable problems with it segfaulting the DBAL testsuite. You should be very careful.
Issue was closed with resolution "Fixed"