MySQL Tutorial/Information Functions/SESSION USER
SESSION_USER() is a synonym for USER().
<source lang="sql">
mysql> mysql> select SESSION_USER(); +----------------+ | SESSION_USER() | +----------------+ | root@localhost | +----------------+ 1 row in set (0.00 sec)</source>