Mekhael, Rezk wrote:
> I am getting this error when I am using zend/php to connect to database
> – where is the tnsname.ora located in Zend configuration files – under
> what directory – and it is in OS env level or Zend web/apache level?
>
>
>
> ORA-12154: TNS:could not resolve the connect identifier specified
>
>
>
>
>
> PS: I can use the command sqlplus to connect to the database but not the
> php.
>
>
>
>
>
>
>
> Sincerely,
>
> Rezk Mekhael
>
Hi,
The TNS entry is generated in either the OCI or PDO_OCI Zend_DB
adapters. Make sure you are specifying the host and the port in your
connection parameter array.
-Justin