> On Thu, 24 Jul 2008, eddier waldir gallego rios wrote:
>
>> but when a try whit ez components it's not perform, I think the Oracle
>> service name is the problem or the server name "localhost"
>>
>> $dbparams = array( 'type' => 'oracle', 'dbname' => 'EWG', 'user' =>
>> 'ARIESW', 'pass' => 'ariesW' ); $db = ezcDbFactory::create($dbparams
>> ); Or $db = ezcDbFactory::create('oracle://ARIESW:[EMAIL PROTECTED]/ewg'
>> );
>
>> Sometimes I feel limit whit my english and is hard to explain what i
>> did.
>
> I don't know, but in our case "ezctest" is both the name of the service
> *and* service. You're not mentioning which error you're getting though
> so it's hard to say what is going wrong.
>
To further clarify my previous post:
- current ezCDB api only supports connecting to Oracle databases after
they have been defined locally with an alias in tnsnames.ora
- this means the hostspec part of the dsn specification is ignored - it
can be "localhost", "ezctest" or anything else
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components