bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL SYSTEM_USER() Function

Example

SELECT SYSTEM_USER();

Definition and Usage

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

Note

This function is equal to the SESSION_USER() function and the USER() function.

Syntax

SYSTEM_USER()

Technical Details

Works in:From MySQL 4.0

Previous

MySQL SESSION_USER() Function

Next

MySQL USER() Function