How will you see the current user logged into MySQL connection?

We can use USER() command to get the user logged into MySQL connection.

Command is as follows:

SELECT USER();

Leave a Reply

Your email address will not be published. Required fields are marked *