Outdated Version
You are viewing an older version of this section. View current production version.
USER
Returns the name of the current user.
Syntax
USER();
Return Type
String.
Example
SELECT USER();
****
+--------+
| USER() |
+--------+
| admin@ |
+--------+