Example
Return the current user name and host name for the MySQL connection:
SELECT SYSTEM_USER();
Definition and Usage
The SYSTEM_USER() function returns the current user name and host name for the MySQL connection.
Syntax
SYSTEM_USER()
Technical Details
Works in: | From MySQL 4.0 |
---|