Return the current user name and host name for the MySQL connection:
SELECT SYSTEM_USER();
Try it Yourself »
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.
SYSTEM_USER()
Works in: | From MySQL 4.0 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!