Choose either ODBC 32-bit or 64-bit for your DB2-version and download it for Windows. 71 thoughts on “ How to install and configure DB2 ODBC driver ”. Oracle Database 11.2.0.4 JDBC Driver & UCP Downloads. The download contains the diagnosability related Jars (ojdbc6_g.jar, ojdbc6_dms.jar, ojdbc6dms_g.jar.
About JDBC Drivers
JDBC drivers are Java library files with the extension .jar used by all Java applications to connect to the database. Usually they are provided by the same company which implemented the Db2 software. DbSchema installation kit already include an Db2 driver.
Each JDBC driver is using a specific URL. The URL is a string passed to the driver, formatted in a way which is decided by the team who bild the driver, and which usually includes information about the database host, port and database name.
Driver Information
- Required File(s): db2jcc.jar, db2jcc4.jar, db2jcc_license_cu.jar (optional)
- Java Driver Class: com.ibm.db2.jcc.DB2Driver
- URL: jdbc:db2://{HOST}[:{PORT}]/{DB}
- Website: IBM
Alternative to installing DbSchema you may download the Db2 driver using this link. The driver files are compressed in a zip file.
Please write us for any question or issue with the driver.
Download Db2 JDBC Driver
Free download and install DbSchema to get the JDBC driver and test connectivity to Db2.
- Download and install DbSchema.
- Start DbSchema and choose 'Reverse engineer the schema from database'. This will pop-up the database connection dialog.
- Try to connect to the database.
- The JDBC driver can be found in the home directory '.DbSchema/drivers' or in the DbSchema installation 'drivers' folder.
- The connection URI can be found in the connection dialog 'Advanced' tab.
Postgresql Jdbc Driver Download
Connect to Db2 from DbSchema
Start DbSchema, choose 'Connect to database' and in the connection dialog choose 'Db2' from the database combo. There you can upload the JDBC driver. For a limited list of databases the drivers are already included.
Next step is to fill in the connection dialog the database host, port, username and password.
- The host is the name or the IP address of the machine where the database is running. If the database is running on the same machine as DbSchema, this will be localhost.
- The port is a number, a kind of 'door' where the database listen for requests. This has a default value which DbSchema will set for you. If the database administrator choose a different port, you may have to enter the correct value
- Database username is the user to login into the database. DbSchema may enter by default the most user for each database. If this is not correct, check the database documentation for this. Usually during Db2 installation you are informed about the username.
- Database password for the database user, is set inside the database.
Db2 Driver
DbSchema will replace this values in the JDBC URL string, will send this to server and try to connect.Db2 9.7 Jdbc Driver Download
Connectivity Troubleshooting
If you get problems connecting to database, please remember :Ibm Db2 Driver Download
- Enable Remote connections as they not always enabled by default. This may require configuration changes.
- Make sure the host is reachable. From the connection dialog you can ping the database host ensure the configured port is reachable.
- Windows Firewall may block the communication. You may need to reconfigure or disable it.
- Check the driver version is compatible with the database software. It may be that DbSchema provided JDBC driver is not the latest version. Please inform us in this case.