ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务

在安装完Oracle10g后,使用PL/SQL工具连接,提示如下的问题:
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
 
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
 
解决办法是手动修改监听配置文件:
 
# listener.ora Network Configuration File: d:\oracle\product\10.2.0\client_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
    (SID_LIST =
        (SID_DESC =
            (SID_NAME = PLSExtProc)
            (ORACLE_HOME = d:\oracle\product\10.2.0\client_1)
            (PROGRAM = extproc)
        )
        (SID_DESC =    
            (GLOBAL_DBNAME = ORCL)    
            (ORACLE_HOME = G:\oracle\product\10.2.0\db_1)        
            (SID_NAME = ORCL)    
        )    
    )
LISTENER =
    (DESCRIPTION_LIST =
        (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.100)(PORT = 1521))
            (ADDRESS = (PROTOCOL = IPC)( KEY = EXTPROC0))
        )
    )
 
其中红色粗体部分是添加部分。

你可能感兴趣的:(ORA-12514)