Loading lesson path
Concept visual
Start at both ends
Return the user name and host name for the MySQL account:
SELECT CURRENT_USER();The CURRENT_USER() function returns the user name and host name for the MySQL account that the server used to authenticate the current client. The result is returned as a string in the UTF8 character set.
See also the USER() function.
CURRENT_USER()
From MySQL 4.0
❮ MySQL Functions