Splunk Search

Splunk db connect: "host is not allowed to connect to MySQL"

aquillius
New Member

I'm trying to connect to the database of another server for me to build dashboards but i can't connect. anyone here knows how to fix the error?

here's the error:
ERROR java.sql.SQLException: null, message from server: "Host '192.168.1.140' is not allowed to connect to this MySQL server"

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you told MySQL to allow connections from the Splunk server? Something like "GRANT ALL PRIVILEGES ON *.* TO 'user'@'192.168.1.140'" should do it.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...