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!

Get Agentic with Splunk Lantern: Connect to Cisco Cloud Control, Transform ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

July Community Events: Master ITSI 5.0 & Automate Splunk

Struggling with alert fatigue or feeling like you're spending more time on infrastructure maintenance than ...

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...