我正在 Oracle 18c 中创建一个新模式。架构创建成功。但是当我尝试连接到这个模式时,我收到一条错误消息:
状态:失败-测试失败:侦听器拒绝连接并出现以下错误:ORA-12514,TNS:侦听器当前不知道连接描述符中请求的服务
这是我的 listener.ora 文件:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\Oracle18c)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\Oracle18c\bin\oraclr18.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)