Tomcat with DB2 connection pool

xiaoxiao2021-03-06  30

Take Tomcat as an example, read its document, do it according to its document, but always can't connect, and find a document online, the result is the same

Later, I took the port number when I wrote the code. OK:

Class.Forname ("com.ibm.db2.jdbc.app.db2driver"); conn = drivermanager.getConnection ("JDBC: DB2: //192.168.0.1/dbname", "UserName", "PWD");

Har hate garbage. . .

转载请注明原文地址:https://www.9cbs.com/read-39951.html

New Post(0)