Codeigniter Oracle Database Setting

$active_group = ‘accountplneaccess’;
$active_record = TRUE;
$tnsname = ‘(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))’;

$db[‘accountplneaccess’][‘hostname’] = $tnsname;
$db[‘accountplneaccess’][‘username’] = ‘username’;
$db[‘accountplneaccess’][‘password’] = ‘password’;
$db[‘accountplneaccess’][‘database’] = ”;
$db[‘accountplneaccess’][‘dbdriver’] = ‘oci8’;
$db[‘accountplneaccess’][‘dbprefix’] = ”;
$db[‘accountplneaccess’][‘pconnect’] = TRUE;
$db[‘accountplneaccess’][‘db_debug’] = TRUE;
$db[‘accountplneaccess’][‘cache_on’] = FALSE;
$db[‘accountplneaccess’][‘cachedir’] = ”;
$db[‘accountplneaccess’][‘char_set’] = ‘utf8’;
$db[‘accountplneaccess’][‘dbcollat’] = ‘utf8_general_ci’;
$db[‘accountplneaccess’][‘swap_pre’] = ”;
$db[‘accountplneaccess’][‘autoinit’] = TRUE;
$db[‘accountplneaccess’][‘stricton’] = FALSE;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: