title: How do I select a MySQL database through CLI?
body: <p>I've managed to get into MySQL using the command line terminal, but when I tried to enter some SQL, it said 'no database selected'</p>
  
  <p>how do I select a database? my database name is:  photogallery</p>
  
  <p>What code do I use to select it?</p>