Tuesday, October 21, 2014

Re: Cake 2.5 connecting to Oracle

In one of my project i used the attached datasource.
I used it with 2.5.4 version but i think it works with earlier 2.xx

This is the connection parameters i used on database.php
   
public $oracle = array(
        'datasource' => 'DataSource.Oracle',
        'driver' => 'oracle',
        'connect' => 'oci_connect',
        'persistent' => false,
        'port' => '1521',
        'login' => 'USERNAME',
        'password' => '***********',
        'nls_comp' => 'LINGUISTIC',
        'nls_sort' => 'BINARY_CI',
        'host' => 'HOSTNAME',
        'database' => 'HOSTNAME:1521/SERVICE_NAME',
        'prefix' => ''
    );

HTH

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: