Oracle Sql Developer setting for Tcps
Please note Sql developer has issues connecting to Tcp .
Configure SQL Developer To Connect To TCPS Enabled DB (Doc ID 2908673.1)
1. Install Oracle Client and Sqldeveloper (Preferably latest version to avoid any incompatibility)
2. Open Sql Developer, Go to Tools --> Preferences --> Database --> Advanced.
3. Check "Use Oracle Client". Click on configure and set client type and Client location and click Test . You should see success. If Success, click Ok.
4. Check "Use OCI/Thick Driver". Click Browse and select correct location for Tnsnames Directory and click ok.
5. Click on New connection. Here you have the option to choose 2 types of connection, TNS and Custom JDBC.
5.1 TNS Connection
Select Connection type as TNS and select correct network alias as per your tnsnames.ora and click on test. You should see success and then click on Connect.
5.2 Custom JDBC
Select Connection type as Custom JDBC and enter following custom jdbc url. replace your port, host and server cert accordingly. Click on test. You should see success and then click on Connect.
6. Once logged in you should see tcps as network protocol.
select sys_context('userenv','network_protocol') from dual;
Configure Sql developer :
Add "SetJavaHome C:\Program files\Java\openjdk11.0.18" in Sql Developer Config "C:\users\userid\AppsData\Sqdeveloper\20.1\product.conf"
For Sql developer 23.1 and above we also need to add SetJavaHome in sqldeveloper.conf under "C:Program Files\sqldeveloer\sqldeveloper\bin\sqldeveloper.conf"
"SetJavaHome C:\Program files\Java\openjdk11.0.18"
AddVmOption -Djava.library.path=c:\apps\oracle\product\19.21\client_64\
Try Cleaning Temp files under C:\users\userid\AppsData\Roaming\Sql Developer\
Comments
Post a Comment