Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DB2 database in Oracle SQL developer

Tags:

I've heard it's possible to connect to a mainframe DB2 database with a client like Oracle SQL developer. I've looked on-line and can't seem to find the connector files needed to do this in SQL developer. Can anyone direct me to a link to make this work? Or tell me if im just looking for the wrong thing to begin with. I've got the connector working with MySQL databases in Oracle, so I assumed it would be similar for a DB2 database.

like image 840
Frantumn Avatar asked Apr 20 '12 17:04

Frantumn


People also ask

Can we connect to Db2 database using Oracle SQL Developer?

The Oracle SQL Developer tool can connect to databases other than Oracle, including MySQL, Microsoft SQL Server and DB2.

Is Db2 an Oracle database?

Oracle is IBM provides Db2 when you purchase any of its iSeries hardware or operating systems, while Oracle is only sold independently—in other words, you have to pay for it separately.

What SQL is used in Db2?

The language that you use to access the data in Db2 tables is the structured query language (SQL). SQL is a standardized language for defining and manipulating data in a relational database.


1 Answers

To enable DB2 in SQL Developer, you need to pull out the db2jcc.jar

Go to "Oracle SQL Developer" - "Tools" - "Preferences" - > Third Party JDBC Driver

enter image description here

My ORACLE SQL Developer Version is 4.1.1.19 (it mostly works for many versions)

After adding that jar to third party JDBC Drivers. Click on "New Connection".

You should be able to find DB2 Option.

enter image description here

like image 73
Sireesh Yarlagadda Avatar answered Nov 10 '22 02:11

Sireesh Yarlagadda