Closed GoogleCodeExporter closed 9 years ago
Question: the user+host as listed on PROCESSLIST do not necessarily reflect any
GRANTEE account.
Compare this to USER() and CURRENT_USER().
The processlist identifies the USER() while the grantee refers to
CURRENT_USER().
How do you solve that?
Original comment by shl...@makam.co.il
on 21 Jul 2011 at 5:47
Hrm, currently I don't have a way to solve this. I think it would require some
changes to the server to report CURRENT_USER in another column of processlist.
Original comment by TodoI...@gmail.com
on 22 Jul 2011 at 3:45
A solution is presented here:
http://code.openark.org/blog/mysql/finding-current_user-for-any-user
I've already committed the function code; not yet released
Original comment by shlomi.n...@gmail.com
on 9 Aug 2011 at 11:20
complete in revision 68
Original comment by shlomi.n...@gmail.com
on 6 Sep 2011 at 10:32
Original issue reported on code.google.com by
shl...@makam.co.il
on 21 Jul 2011 at 4:46