fatal error, as a consequence of running the folloing code
"$config = array(
'adapter' => 'Db2',
'params' => array(
'username' => 'userid',
'password' => 'mypass',
'dbname' => 'mysystemname',
'adapterNamespace' => 'ZendC_Db_adapter',
'driver_options' => array(
"i5_lib" => "LEVA",
"i5_naming" => "DB2_I5_NAMING_ON")
)
);
$config = new Zend_Config($config);
try {
$db = Zend_Db::factory($config);
$db->getConnection();
} catch (Zend_Db_Adapter_Exception $e) {
echo" perhaps a failed login credential, or perhaps the RDBMS is not
running";
} catch (Zend_Exception $e) {
echo " perhaps factory() failed to load the specified Adapter class";
}"
when istantiating db2 (Zend_Db::factory).
Regards.
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/zf-accessing-db2-table-on-system-i-tp2226165p2234426.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论