title: Hive Metastore tries to create a Derby connection instead of MySQL
body: <p>I am using Hive 0.11 and Metastore in local mode. When I try to start the Metastore daemon, it exits after spitting the following error  message:</p>
  
  <p>2013-11-21 08:47:19.541 GMT Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied)</p>
  
  <p>2013-11-21 08:47:19.646 GMT Thread[main,5,main] Cleanup action starting</p>
  
  <p>ERROR XBM0H: Directory /metastore_db cannot be created.</p>
  
  <p>This is my  <a href="http://pastebin.com/dD8QGAm6" rel="nofollow">hive-site.xml</a>. I am using MySQL as  Metastore storage. What I don't understand is why is Hive trying to create   metastore_db  locally.</p>
  
  <p>Thanks.</p>