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

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 '' is not allowed to connect to this MySQL server"

0 Karma


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

If this reply helps you, an upvote would be appreciated.
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!