title: ERROR 1046 (3D000): No database selected while creating user
body: <p>When I create a admin user with:</p>
  
  <pre><code>GRANT ALL ON * TO my_name@localhost IDENTIFIED BY 'my_passwd' WITH GRANT OPTION 
  </code></pre>
  
  <p>I received the error message "<code>ERROR 1046 (3D000): No database selected</code>".</p>