Skip to Content
0
Former Member
Aug 12, 2005 at 06:11 PM

Jdbc driver format

25 Views

Hi All,

Imported & Installed Type 4 DB2 JDBC driver… I need help in filling the JDBC Driver format and Connection string.

Database: DB2,

Port: 1111,

Database name: testdb

Server Name: testserv.com

I’m using the following values, and got the follwoing processing error

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

Connection: jdbc:db2:// testserv.com:1111;databaseName= testdb

User Name: test

Password: xxxxxx

Processing Error: Accessing database connection jdbc:db2:// testserv.com:1111;databaseName= testdb ' failed: com.ibm.db2.jcc.b.SqlException: Invalid database url syntax

Can some one help me in correcting this error

Thanks for the help