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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

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 ...