Return the user name and host name for the MySQL account:
SELECT CURRENT_USER();
Try it Yourself »
The CURRENT_USER() function returns the user name and host name for the MySQL account that the server used to authenticate the current client.
The result is returned as a string in the UTF8 character set.
Tip: See also the USER() function.
CURRENT_USER()
Works in: | From MySQL 4.0 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!