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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...