How to view current user in Mysql?
by Ramya[ Edit ] 2008-06-02 17:46:24
If you want to see in which username you are accessing the database then use the following,
> SELECT CURRENT_USER();
For example if you are accessing through root, it will display the current user as,
> root@localhost