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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...