All Apps and Add-ons

command="dbquery", A database error occurred: The user does not have permission to perform this action.

d12harshal
Path Finder

Hi Everyone,
While performing dbinfo, dbquery commands in the database for few tables I am getting following error message.
command="dbquery", A database error occurred: The user does not have permission to perform this action.

Thanks in Advance.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Check your External Databases configuration and make sure the username and password are correct. Then check the database to make sure that user is allowed access to those tables. If you use MySQL, make sure access is granted to the user accessing from the Splunk server.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check your External Databases configuration and make sure the username and password are correct. Then check the database to make sure that user is allowed access to those tables. If you use MySQL, make sure access is granted to the user accessing from the Splunk server.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

See a212830's comment. If that doesn't solve your problem then check the MSSQL permissions.

---
If this reply helps you, Karma would be appreciated.
0 Karma

d12harshal
Path Finder

There are 500 plus tables and I unable to access only few, configuration, username and password are correct only. You want me to check in MSSQL whether access is granted to respective tables?

Thank You.

0 Karma

a212830
Champion

You need to update permissions on the db connect config file. Do a search on splunk answers, and you’ll see examples.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...