Топ-100
 

USER

База данных: MySQL
Текст

Syntax:
USER()

Returns the current MySQL user name and host name as a string in the
utf8 character set.

URL: https://dev.mysql.com/doc/refman/8.0/en/information-functions.html

Пример

mysql> SELECT USER();
-> 'davida@localhost'