2 How To Connect Database Using JavaJDBC Part 2

Опубликовано: 10 Февраль 2025
на канале: Sameer's Code Room
2,321
3

some Users Might Get This Error:

ORA-12505, TNS: listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521: xe

This Is my Solution:

1.Open And Connect to Oracle Database

2. alter system set local_listener = '(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))' scope = both;

3.alter system register;

4.Exit


Comment Email Address I will Share your the link for "Oracle Xe Database"