Loading lesson path
Concept visual
Start at both ends
Return the current user name and host name for the MySQL connection:
SELECT USER();The USER() function returns the current user name and host name for the MySQL connection.
SESSION_USER() function and the SYSTEM_USER() function.
CURRENT_USER() function.
From MySQL 4.0
❮ MySQL Functions