title: How to create a synonym in mysql
body: <p>I have a view in database <code>B</code> which I use in database <code>A</code>.</p>
  
  <p>I would like to create a synonym to this view. Because right now each time I have to write the query like this</p>
  
  <pre><code>Select * from DBNAME.VIEWNAME
  </code></pre>
  
  <p>rather I just want to be able to write</p>
  
  <pre><code>SELECT * FROM MYSYNONYMNAME
  </code></pre>
  
  <p>Is that possible to do in mysql? I didn't see much in the manual.. </p>