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!
原创
2015-04-24 00:22:57 ·
748 阅读 ·
0 评论