Resolving “Access denied; you need (at least one of) the PROCESS privilege(s) for this operation”

I do have logged in with a mysql user easypay who has all privileges on a DB easypay and was executing the command

show engine innodb status

Mysql gave error as

[Error Code: 1227, SQL State: 42000] Access denied; you need (at least one of) the PROCESS privilege(s) for this operation

Even though grant all permission on the specified I was getting error.

Simply run

GRANT SELECT, PROCESS ON *.* TO 'easypay'@'localhost';

and your troubles should be over.

If you have the PROCESS privilege for all DB(s), you can see all threads. If you have the SUPER privilege, you can kill all threads and statements. Otherwise, you can see and kill only your own threads and statements.

You can also use the mysqladmin processlist and mysqladmin kill commands to examine and kill threads.

This entry was posted in Linux, MySQL. Bookmark the permalink.

2 Responses to Resolving “Access denied; you need (at least one of) the PROCESS privilege(s) for this operation”

  1. Ran into this issue backing up my WordPress database today and ran the GRANT command above in mysql

    Solved my problem just as you described.

    So I can confirm this still works five years later since you posted it.

    Thank you.
    Joe

  2. Pingback: mysqldump: Error: ‘Access denied; you need (at least one of) the PROCESS privilege(s) for this operation’ when trying to dump tablespaces – Dan Langille's Other Diary

Leave a Reply to Joseph Dickson Cancel reply

Your email address will not be published.