Sep 13, 2018

How to get current user in MySQL

mysql> select user();
+-----------------+
| user()          |
+-----------------+
| [email protected] |
+-----------------+
1 row in set (0.00 sec)