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