DB2 configuration file connect using ZF2 and ODBC using config/autoload/local.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$database = ''; | |
$hostname = ''; | |
$port = ''; | |
$user = ''; | |
$password = ''; | |
return array( | |
'db' => array( | |
'driver' => 'db2', | |
'database' => "DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;HOSTNAME=$hostname;" . | |
"PORT=$port;PROTOCOL=TCPIP;UID=$user;PWD=$password;" | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment