title: When I am logged into mysql how do I change to different database?
body: <p>When in Mysql what command changes to a different database without having to log out?</p>
  
  <p>I log in to a database with:</p>
  
  <pre><code>mysql -u root -p database
  </code></pre>
  
  <p>Then to change databases I exit and log back in:</p>
  
  <pre><code>mysql -u root -p other_database
  </code></pre>
  
  <p>Is there anyway shortcut to do this without logging out?</p>