ORA-12514的解决办法
报错信息:
ERROR:
ORA-12514: TNS:监听程序当前无法识别连接描述符中请求的服务的解决办法
解决办法:
搜索“listener.ora”文件,并且以txt的形式打开,增加一下内容:
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = F:\app\Dell\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
//其中,ORACLE_HOME那里应该是你自己电脑上面Oracle安装的所在位置,
//要根据自己的情况进行修改
修改好,我的listener.ora文件所长的样子:
# listener.ora Network Configuration File: F:\app\Dell\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 = F:\app\Dell\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\Dell\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = F:\app\Dell\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = F:\app\Dell