@Phil's Answer and @Mr.Brownstone's Answer should suffice for your question, so +1 for both of them.
For the following, let's assume you are logging in with username myuser
Once you have connected to mysql, you should run the following query:
SELECT USER(),CURRENT_USER();
USER() reports how...