资源介绍
服务端:新建数据库db2sample完成后会提示,测试可用命令db2 connect to sample.相应的命令可以在db2下用?查询。
eclipse配置如下:
driver template:ibm db2(universal driver)
drivername :db2TEST
connection url:
jdbc:db2://192.168.0.2:50000/sample
user name: db2inst1
password :pwd
加入jar:db2jcc4.jar
Driver classname:com.ibm.db2.jcc.DB2Driver