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

如果报此错屡试不行

1.则:SID= .Net Configuration Assistance-->本地Net服务器名配置-->添加-->服务名(即为该服务名,并非pl/sql登陆时的DataBase属性值)

项目中链接字符串:jdbc:oracle:thin:@localhost:1521:ORCL

说明:ORCL为1中创建的SID

启动ok!

你可能感兴趣的:(TNS:listener,does,not,currently,know,of,SID,given,in,connect,desc,.,ORA-12505,ORA-12505,TNSlistener,does,not)