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