Created
March 11, 2013 16:55
-
-
Save ezimuel/5135662 to your computer and use it in GitHub Desktop.
DB2 configuration file connect using ZF2 and ODBC
using config/autoload/local.php
This file contains hidden or 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