en fait j'ai toujours un problème.
j'ai cette erreur sur ma page PHP :
ORA-12154: TNS : l'identificateur de connexion indiqué n'a pas pu être résolu
voici mon tnsnames.ora:
# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Oracle)
)
)
Voici le résultat d'un tnsping sur ma base :
[oracle@Port Bureau]$ tnsping Oracle
TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 06-MAY-2009 08:45:54
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/home/oracle/app/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Oracle)))
OK (0 msec)