Oracle ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

原因: 出现以上问题是无法识别SID

解决:

1.查看oracle的SID
C:/>sqlplus /nolog
SQL>connect /as sysdba
SQL>select * from v$instance;

2.打开E:/oracle/product/10.2.0/db_1/network/admin/listener.ora,修改GLOBAL_DBNAME与SID_NAME.

你可能感兴趣的:(oracle)