Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I grant PROCESS privilege to a user?

Tags:

mysql

I have a user called test, and I want to grant process privilege to him.

So far, I have tried:

grant process on *.* to test; 
FLUSH PRIVILEGES;

then, I show all grants for user test by running:

show grants for test@'%';

the result does contain a `PROCESS' line like:

GRANT PROCESS ON *.* TO 'test'@'%' IDENTIFIED BY PASSWORD ...

...

...

But it didn't appear to work for user test.

So, how can I grant PROCESS privilege to a user?

like image 284
Will Avatar asked Jul 03 '15 10:07

Will


1 Answers

This should do:

GRANT PROCESS, SELECT ON *.* ...

like image 160
sjas Avatar answered Oct 20 '22 16:10

sjas