Splunk Dev

Splunk DB Connect

rupali12
Explorer

I have downloaded Splunk DB connect app. but while executing query it shows "command="dbquery", Error getting database connection: JDBC driver (com.mysql.jdbc.Driver) for database type MySQL is not installed".I have downloaded java Database Connectivity (JDBC) driver and copied the .jar file to $SPLUNK_HOME/etc/apps/dbx/bin/lib.what i ll do?

Tags (1)

DaveSavage
Builder

;-))...it happens to us all.
Good luck with the MySQL DB Connect - its a neat start point and opens a LOT of doors as to where you can go with the data.

0 Karma

rupali12
Explorer

but after restart it is showing "Host 'XXXXXX' is not allowed to connect to this MySQL server" error.how to resolve this?

0 Karma

rupali12
Explorer

ok i forgot to restart.Thank u. 🙂

0 Karma

DaveSavage
Builder

By the way - did you restart the app or server on which the database is placed, or is used by? Assuming that is feasible and reasonable to do so, of course 😉

DaveSavage
Builder

That sounds to be correct. The Java DBC needs to be installed (placed) and you also need the JRE - in fact I found the fuller version to work better.
You need to restart Splunk as well. Go into the dashboard and see if the 'green light' is on next to the bridge.
Do you have the installation notes? They are very good.
Jar files are compacted / a type of zip files. You will need to unpack it.

0 Karma

rupali12
Explorer

is there anyone????plz rply....:(

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...