ORA-12514:TNS:listener does not currently know of service requested in connect descriptor

navicat连接oracle数据库失败

一、问题的原因

Navicat连接oracle数据库这服务名不正确(默认ORCL)
ORA-12514:TNS:listener does not currently know of service requested in connect descriptor_第1张图片
报错的意思是找不到你想要请求的数据库的地址。

我开始自己填写的登录信息:
ORA-12514:TNS:listener does not currently know of service requested in connect descriptor_第2张图片

查看数据库的服务名或SID:
ORA-12514:TNS:listener does not currently know of service requested in connect descriptor_第3张图片
发现服务名已经改变,不是默认的ORCL,则将服务名进行更改即可。

二、问题的解决

1、查看数据库的服务名或SID:

ORA-12514:TNS:listener does not currently know of service requested in connect descriptor_第4张图片

2、更改登录的服务名

ORA-12514:TNS:listener does not currently know of service requested in connect descriptor_第5张图片

你可能感兴趣的:(日常Bug,ORA-12514,oracle,Navicat)