Hi,

I use this syntax to connect my project on Oracle:

all:
  opacstat:
    class:        sfDoctrineDatabase
    param:
      dsn:        'oracle:dbname=//server_address:1521/SID'
      username:   xxx
      password:   xxxx


Doctrine implement 2 solutions with Oracle: oci8 and pdo. But PDO isn't the 
best solution.

Recommended oci8 with syntax above.


Le 2 déc. 2010 à 18:08, Vikos a écrit :

> The tried one for oci:
>    class: sfDoctrineDatabase
>    phptype: oci8
>    param:
>      dsn:      oracle:dbname=//192.168.0.133:1521/XE;charset=AL32UTF8
> 
> If I use 'oracle:......' in dsn the doctrine says  "unable to
> connect"..
> and if I use 'oci8:....." -> "Couldn't locate driver named oci8"
> 
> Environment : Win7 64 bi, apache2, php 5.3.1 (installed in wamp).


Bertrand



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to