Syntax
SESSION_USER()
Purpose
You can call this function to return the current username and host name. The return value uses the utf8mb4 character set.
This function is a synonym of USER().
Examples
obclient> SELECT SESSION_USER();
+---------------------+
SESSION_USER()
+---------------------+
root@100.0.0.1
+---------------------+
1 row in set (0.00 sec)