title: HIVE database does not exist SemanticException 10072
body: <p>I have created a database in HIVE using command <code>CREATE DATABASE FIRST_DB;</code> and a database is created. </p>
  
  <p>Then I created a few tables in to it and it was working find. Directory named FIRST_DB.db is created in my hdfs warehouse location. Then I quit my HIVE shell. </p>
  
  <p>Next day when I started my HIVE and tried to connect using command <code>USE FIRST_DB;</code> then it gave an error: </p>
  
  <blockquote>
    <p>SemanticException [error 10072] :database does not exist FIRST_DB</p>
  </blockquote>
  
  <p>but when I checked into my hdfs the FIRST_DB.db is present and tables under that is also present. Please help me to set this database permanently even after I quit HIVE session. Let me know if there is any configuration I missed.</p>