Deployment Architecture

Splunk DB Connect - MySQL Connection

wagnerbianchi
Splunk Employee
Splunk Employee

Hi friends,

I am trying to set up a connection between Splunk and MySQL, both running in the same machine (local machine) and I am getting this error after filling up all configuration fields and push "Fetch Database Names" button:

ERROR com.splunk.config.SplunkConfigurationException: JDBC driver (com.mysql.jdbc.Driver) for database type MySQL is not installed

Cheking the JRE I have installed:

wagnerbianchi:Home root# bin/java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Is this error regarding MySQL J/Connector? Someone could help me to solve this problem?

Thank you.

Tags (1)
0 Karma

wagnerbianchi
Splunk Employee
Splunk Employee

just to document all steps I am taking toward this Splunk DB Connect installation, I found reasearching the internet this manual to install MySQL Connector J on Mac and evt is alright with the set up.

=> http://www.yaldex.com/mysql_tutorial_2/ch09lev1sec1.html

After to download and copy the connector .jar file to /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext , Splunk DB Connect is running well.

Thanks everyone!

0 Karma

jspears
Communicator

Yes, you need to install J/Connector. From the docs: http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Installdrivers

wagnerbianchi
Splunk Employee
Splunk Employee

just to document all steps I am taking toward this Splunk DB Connect installation, I found reasearching the internet this manual to install MySQL Connector J on Mac and evt is alright with the set up.

=> http://www.yaldex.com/mysql_tutorial_2/ch09lev1sec1.html

After to download and copy the connector .jar file to /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext , Splunk DB Connect is running well.

Thanks everyone!

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...