Retrieve the current username and host details for the MySQL connection.
SELECT SYSTEM_USER(); |
The SYSTEM_USER() function retrieves the current username and host name for the MySQL connection.
Note: This function is equivalent to SESSION_USER() and USER().
SYSTEM_USER() |
Works in: |
From MySQL version 4.0 |