MySQL Tutorial/Information Functions/SYSTEM USER
SYSTEM_USER() is a synonym for USER().
mysql>
mysql> select SYSTEM_USER();
+----------------+
| SYSTEM_USER() |
+----------------+
| root@localhost |
+----------------+
1 row in set (0.00 sec)
mysql>
mysql> select SYSTEM_USER();
+----------------+
| SYSTEM_USER() |
+----------------+
| root@localhost |
+----------------+
1 row in set (0.00 sec)