title: mysql: whoami?
body: <p>Is there a <code>whoami</code>-like function in mysql? </p>
  
  <p>I'm connecting to the mysql command line from a remote host. I'm not sure if my ip address is resolving to a domain name or not. I would like to see something like </p>
  
  <pre><code>mysql&gt; whoami;
  +----------------------------------+
  | User     | Host                  |
  +----------------------------------+
  | username | resolved.hostname.com |
  +----------------------------------+
  1 row in set (0.00 sec)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>mysql&gt; whoami;
  +------------------------+
  | User     | Host        |
  +------------------------+
  | username | 22.66.88.44 |
  +------------------------+
  1 row in set (0.00 sec)
  </code></pre>