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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...