Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 01-29-2015 01:50 PM - edited on 09-07-2018 03:22 PM by Nina.Wolinsky
Updated on 9/5/18
My application uses a MariaDB client. It uses c3pO JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. How do I capture database calls?
We do not support MariaDB clients out of the box. You will need to set up the below jdbc node level properties to achieve the DB queries.
jdbc-callable-statements=org.mariadb.jdbc.AbstractCallableFunctionStatement,
org.mariadb.jdbc.AbstractCallableProcedureStatement,
org.mariadb.jdbc.internal.util.dao.CloneableCallableStatement
jdbc-prepared-statements=org.mariadb.jdbc.AbstractMariaDbPrepareStatement
jdbc-connections=org.mariadb.jdbc.MariaDbConnection
jdbc-statements=org.mariadb.jdbc.MariaDbStatement
Please refer to the documents below for instructions on how to set node level properties and additional details about these properties:
Note: This solution dates from January 2015.
Refer to the instructions in Using Node Properties to Detect JDBC Backends and try using the following JDBC node properties and values:
jdbc-callable-statements: value="org.mariadb.jdbc.MySQLCallableStatement"
jdbc-connections: value="org.mariadb.jdbc.MySQLConnection"
jdbc-prepared-statements: value="org.mariadb.jdbc.MySQLPreparedStatement,org.mariadb.jdbc.MySQLServerSidePreparedStatement"
jdbc-statements:
value="org.mariadb.jdbc.MySQLStatement"
I found these values to work for MariaDB Client 2.2.6
jdbc-prepared-statements=org.mariadb.jdbc.BasePrepareStatement jdbc-connections=org.mariadb.jdbc.MariaDbConnection jdbc-callable-statements=org.mariadb.jdbc.CallableFunctionStatement jdbc-callable-statements=org.mariadb.jdbc.internal.util.dao.CloneableCallableStatement jdbc-callable-statements=org.mariadb.jdbc.CallableProcedureStatement jdbc-statements=org.mariadb.jdbc.MariaDbStatement
Thanks for sharing @Jon.Rigual!
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form