오라클 접속할때
sqlplus test/test 로 접속하면 잘되는데
sqlplus test/test@kdb 로접속하면.. 이런에러가 나버립니다.
ERROR:
ORA-12505: TNS:listener could not resolve SID given in connect descriptor
분명히 sid 가 kdb 맞거든요..
그리고 lsnrctl 에서 stat 해서보면 아래와 같이 나옵니다.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=KDB)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 8.1.7.0.0 - Production