PL/Plus本地连接oracle配置

记录一下这个本地的配置

tnsnames.ora

#Amor-PC

myTableSpace =  
(DESCRIPTION =    
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))    
(CONNECT_DATA =      
(SERVER = DEDICATED)      
(SERVICE_NAME = orcl)    
)  
)



# 这个主要用于调用外部过程。如使用全文检索时就需要设置EXTPROC_CONNECTION_DATA
EXTPROC_CONNECTION_DATA =  
(DESCRIPTION =    
(ADDRESS_LIST =    
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))    
)    
(CONNECT_DATA =      
(SID = PLSExtProc)      
(PRESENTATION = RO) 
)  

)


listener.ora

LISTENER1 =  
(DESCRIPTION =    
(ADDRESS = 
(PROTOCOL = TCP)
(HOST = 127.0.0.1)
(PORT = 1521)
)  
)

你可能感兴趣的:(sql)