Question & Answer
Question
Cause
Answer
The JDBC probe is installed and configured to establish a connection with MySQL DB. After the probe is started, the below error can be found in the log :
"Probe unable to find the JDBC Driver class"
JDBC driver for the target database from the database vendor and install it according to the vendor's instructions. The drivers are usually provided as Java™ archives (.jar).
Then, you need to set CLASSPATH variable and the below probe properties :
e.g
JdbcDriver :
com.mysql.jdbc.Driver
JdbcUrl :
jdbc:mysql://host_name[,failov
Where host_name is the name of the database host machine, failover_host is the name of the optional failover host, port is the port number, db_name is the name of the database, and param1 and param2 are optional parameters. The default port is 3306.
e.g
jdbc:mysql://server.example.ibm.com:3306/alerts
Product Synonym
nco_p_jdbc
Was this topic helpful?
Document Information
Modified date:
29 April 2020
UID
ibm16202770