Mega Code Archive

 
Categories / MySQL Tutorial / Information Functions
 

SESSION_USER() is a synonym for USER()

mysql> mysql> select SESSION_USER(); +----------------+ | SESSION_USER() | +----------------+ | root@localhost | +----------------+ 1 row in set (0.00 sec)