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!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...