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
报错的意思是找不到你想要请求的数据库的地址。

我开始自己填写的登录信息:
ORA-12514:TNS:listener does not currently know of service requested in connect descriptor

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

二、问题的解决

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

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

2、更改登录的服务名

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

上一篇:Spring boot maven项目报错unable to find valid certification path to requested target


下一篇:Linux socket.error: [Errno 99] Cannot assign requested