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