ORA-12505 error when java connects to oracle database

ORA-12505, TNS:listener does not currently know of SID given in connect descriptor is reported when java connects to oracle database

Wrong url:

jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521:orcl

Correct writing:

jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521/orcl


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *