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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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