Syntax
USER()
Purpose
USER() returns the current username and hostname. The return value uses the utf8mb4 character set.
Examples
obclient> SELECT USER();
+---------------------+
| USER() |
+---------------------+
| root@xxx.xx.xxx.xxx |
+---------------------+
1 row in set