Stored Procedure 'definer' questions.
I have been noticing a lot of processes in the 'show processlist' output indicating that my 'admin' user is executing stored procedures. However, the output doesn't show me the host. Instead, I see something like "%:52471" for the host field. Knowing that stored procedure privileges are based on the definer, I got to wondering if this means that they are actually executed as the 'definer' user? So, if user 'bob' logs on and executes stored procedure 'getFoo()' which is defined by 'admin', will the stored procedure actually execute as 'admin'? In that case, does this execution take up the reserved connection for the 'admin' super user?
Maybe I'm way off base, but this is the only explanation I could come up with.
Does anyone have the low down?
Thanks,
Dave
Subject
Views
Written By
Posted
Stored Procedure 'definer' questions.
2825
February 11, 2013 01:09PM
914
February 28, 2013 11:58AM
888
February 28, 2013 02:14PM
970
February 28, 2013 04:31PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.