Add a New JDBC Driver (prior to v6.1)
The JDBC Driver drop-down in the Add/Edit a SQL Data Source Editor includes the list of JDBC drivers that have been installed on the Metric Insights server.
You may add JDBC drivers to this list by following the steps in this article.
- You must have the driver JAR file stored locally on your computer
- For the last step you will need to request Metric Insights to Register this driver.
- Identify the proper JDBC driver JAR file for the driver to be added
- Download to your local machine
At the bottom of the list click [+ New Data Source]
Optionally, you can Edit an existing SQL Data Source on its editor by clicking its Name link and add your new JDBC driver from there; if this is your approach, skip to Step 4.
- Use the Browse button to find and Open the driver ( .jar file ) that you downloaded and saved to your local hard drive
- Once the Jar file is in the text box, click SAVE
Contact Metric Insights and Metric Insights will register this Driver in the system. What Metric Insights will do is add info to the system (mysql jdbc_driver table) that includes your jdbc driver information. E.g., jdbc string template to use (e.g., jdbc:postgresql://<host>:<port>/<db>) , sample SQL statement to test connectivity and jdbc class name to invoke in the driver (e.g., org.postgresql.Driver).
NOTE: Once complete you will then be ready to create a Data Source using this new JDBC driver