How to connect to oracle db by using only host url in codeigniter
To do it you will have to use oci8 extension with CI`s oci8 driver:
$config['hostname'] = '192.168.1.9/XE'; // assuming it is XE$config['username'] = 'test';$config['password'] = 'test';$config['database'] = 'dbname';$config['dbdriver'] = 'oci8';
This _should_ work.
If you hoped to use PDO for it, then it is not possible. Mostly because of pdo_oci driver's strangeness and disaster, that is CI's database drivers.