Splunk Search

MySQLConnector error while logged in as user

lelandmoore
New Member

I can run queries on my DB when logged in as admin but when logged in as a user I get the following error:
"PARSER: Applying intentions failed operation 'mysqlquery' is unknown. You might not have permission to run this operation."

I have granted read/write permission to everyone for the db connector and for the query itself.

What permissions needed to be granted to the user group to allow them to use MySQLConnector?

Tags (1)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You need to give permission to the "mysqlquery" commmand itself to the users/groups. There may be other items as well, but that is what the error message is complaining about. You can find the item under "Manager>Advanced Search>Search Commands".

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

You need to give permission to the "mysqlquery" commmand itself to the users/groups. There may be other items as well, but that is what the error message is complaining about. You can find the item under "Manager>Advanced Search>Search Commands".

lelandmoore
New Member

That worked Thanks!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...