<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error starting HIVE metastore in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-starting-HIVE-metastore/m-p/209324#M171278</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Harry Li"&gt; @Harry Li&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Do the following as root create the hive user with the following privileges&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;mysql -u root -h localhost 
Create user hive identified by 'hive'; 
grant all on hive.* to hive; 
GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'localhost' IDENTIFIED BY 'hive'; 
GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'&amp;lt;FQDN_of_Mysql&amp;gt;'IDENTIFIED BY 'hive'; 
flush privileges; 
quit; &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;As the hive user with the assumption, here &lt;STRONG&gt;database,user&lt;/STRONG&gt; and &lt;STRONG&gt;password&lt;/STRONG&gt; are &lt;STRONG&gt;hive &lt;/STRONG&gt; for simplicity &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;mysql -u hive -phive 
create database hive; 
show databases; 
quit;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now use these credentials for setting up the hive  database and user n Ambari user and test connection to the hive database, it should succeed before you can successfully start hive !!&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 03:34:45 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-08-02T03:34:45Z</dc:date>
  </channel>
</rss>

