|
发表于 2012-10-27 14:15:52
|
显示全部楼层
wangmingjun 发表于 2012-10-23 10:54
我现在也在用CI连Orcale,能告诉我怎么配置的吗?
$db['oracle']['hostname'] = '192.168.0.10/oracmsdb';
$db['oracle']['username'] = 'oracle_username';
$db['oracle']['password'] = 'password';
$db['oracle']['database'] = '';
$db['oracle']['dbdriver'] = 'oci8';
$db['oracle']['dbprefix'] = '';
$db['oracle']['pconnect'] = TRUE;
$db['oracle']['db_debug'] = TRUE;
$db['oracle']['cache_on'] = FALSE;
$db['oracle']['cachedir'] = '';
$db['oracle']['char_set'] = 'zhs16gbk';
$db['oracle']['dbcollat'] = 'utf8_general_ci';
$db['oracle']['swap_pre'] = '';
$db['oracle']['autoinit'] = TRUE;
$db['oracle']['stricton'] = FALSE; |
|