# Not able to connect to DB2 database

**URL:** https://forum.cloverdx.com/t/not-able-to-connect-to-db2-database/1285
**Category:** CloverDX Platform
**Created:** [October 8, 2013, 12:00am UTC](https://forum.cloverdx.com/t/not-able-to-connect-to-db2-database/1285 "2013-10-08T00:00:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![itstushar](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@itstushar](https://forum.cloverdx.com/u/itstushar)
#### Post date: [October 8, 2013, 12:00am UTC](https://forum.cloverdx.com/t/not-able-to-connect-to-db2-database/1285/1 "2013-10-08T00:00:00Z")

</div>

Hi,  
I am using trial vesion to make POC for our project. based on which we will decide wheather we can use CloverETL or not?  
We use DB2 database when i tried to add connection for the same i am getting following error. I have the license jar with me but i dont know where i have to add the the jar in class path.  
i get following error when i validate the connection.

I have used load driver from Jar option to add the drivers.

Driver name: com.ibm.db2.jcc.DB2Driver

Can’t connect to DB: [ibm][db2][jcc][10333][11649] No license was found. An appropriate license file db2jcc\_license\_\*.jar must be provided in the CLASSPATH setting.

Thanks!

---

<div class="post-metadata">

### Author: ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)
#### Post date: [October 9, 2013, 7:36am UTC](https://forum.cloverdx.com/t/not-able-to-connect-to-db2-database/1285/2 "2013-10-09T07:36:38Z")

</div>

Dear itstushar,

You may add your db2jcc\_license\_\*.jar on classpath in DB Connection wizzard, as illustrated here:

[db2\_classpath.png](https://cdn.cloverdx.com/forum/15157%5F0088d68c8dca1862e79d1a9196c97435/db2%5Fclasspath.png)

Please let me know if this does not help.

- [db2\_classpath.png](https://cdn.cloverdx.com/forum/15157%5F0088d68c8dca1862e79d1a9196c97435/db2%5Fclasspath.png)
