Example
Return the current user name and host name for the MySQL connection:
SELECT USER();
Definition and Usage
The USER() function returns the current user name and host name for the MySQL connection.
Syntax
USER()
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.
USER()