jdbcdb2oracle-sqldeveloperdb2-luwdashdb

DB2 database in Oracle SQL developer with SSL option


Need help to connect DB2 on cloud with Oracle SQL developer. I have configured SQL developer with third party JDBC to other DBs, but not work in DB2 with SSL option.

There have no option to set "sslConnection=true" in connection dialog. I have tried db2 type 2/4 jdbc drivers, that's same result.


Solution

  • Oracle-SQL-Developer successfully lets me connect to Db2-on-cloud with SSL.

    My version of Oracle-SQL-Developer is old 17.02 and yes that version seems to lack a GUI way to add connection attributes for Db2 connections . I will update this answer for version 19.02 later.

    A workaround is:

    If you made changes, save the file, take another backup of the changed file (in case it gets overwritten next time), and restart SQL-Developer. Your connection should appear in the Connections pane, and the connect should succeed if you entered all other credentials and connection-parameters correctly. Works for me...