MySQL SESSION_USER Function

Example

Return the current user name and host name for the MySQL connection:

SELECT SESSION_USER();

Definition and Usage

The SESSION_USER() function returns the current user name and host name for the MySQL connection.

 

Syntax

SESSION_USER()

Continue reading MySQL SESSION_USER Function