Pour oracle, la config est dans D:\dev\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
# tnsnames.ora Network Configuration File: D:\dev\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
TITAN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TITAN)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
LISTENER_TITAN =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
TITAN3VORA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 3WORAWIN)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TITAN)
)
)
TITAN13867 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 3WGS00013867)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TITAN)
)
)
TITAN12C67 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 3WGS00013867)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TITAN12C)
)
)
D:\dev\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# sqlnet.ora Network Configuration File: D:\dev\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. #SQLNET.AUTHENTICATION_SERVICES= (NTS) <--- a commenter pour se connecter a distance avec TOra et à decommenter pour se connecter en sa sans password... NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
et listener.ora
# listener.ora Network Configuration File: D:\dev\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\dev\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\dev\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = D:\dev\oracle
Dans mon cas, il faut un TOra 32 bits soit TOra 2.1.3
Il faut aussi virer le oci.dll qui se trouve le repertoire pour réussir à se connecter en 11.2.0
Ajoute l'option pour les tables vides:
alter system set deferred_segment_creation=false;