USER « Information Functions « MySQL Tutorial






20.15.USER
20.15.1.USER() returns the current MySQL username and hostname
20.15.2.To extract only the username part