<?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: Oozie Non Default Database Setup in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95346#M8655</link>
    <description>&lt;P&gt;It should be GRANT ALL to just it's Oozie Database.  Because the 'oozie' user needs to be able to create the schema in the target database.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 22:07:05 GMT</pubDate>
    <dc:creator>dstreev</dc:creator>
    <dc:date>2015-10-13T22:07:05Z</dc:date>
    <item>
      <title>Oozie Non Default Database Setup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95345#M8654</link>
      <description>&lt;P&gt;From Ambari 1.7 doc &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-1.7.0.0/Ambari_Doc_Suite/ADS_v170.html#ref-f6bcf79a-a84e-4881-bb9d-6c94b2cca79d"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-1.7.0.0/Ambari_Doc_Suite/ADS_v170.html#ref-f6bcf79a-a84e-4881-bb9d-6c94b2cca79d&lt;/A&gt;, why do Oozie user need to have all privileges (GRANT ALL)? Database admins might not want to set it up this way.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 21:52:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95345#M8654</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-13T21:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Non Default Database Setup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95346#M8655</link>
      <description>&lt;P&gt;It should be GRANT ALL to just it's Oozie Database.  Because the 'oozie' user needs to be able to create the schema in the target database.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 22:07:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95346#M8655</guid>
      <dc:creator>dstreev</dc:creator>
      <dc:date>2015-10-13T22:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Non Default Database Setup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95347#M8656</link>
      <description>&lt;P&gt;These permissions should be enough for the oozie user on Oracle:&lt;/P&gt;&lt;PRE&gt;GRANT SELECT_CATALOG_ROLE TO &amp;lt;OOZIE USER&amp;gt;;
GRANT CONNECT, RESOURCE TO &amp;lt;OOZIE USER&amp;gt;;&lt;/PRE&gt;&lt;P&gt;For the other databases MySQL and PostgresQL I agree with &lt;A rel="user" href="https://community.cloudera.com/users/175/dstreever.html" nodeid="175"&gt;@David Streever&lt;/A&gt; that the permission needs to be set to just Oozie database. Additionally we want to limit the access from just the oozie host. On MySQL this can be:&lt;/P&gt;&lt;PRE&gt;GRANT ALL PRIVILEGES ON &amp;lt;OOZIE DB&amp;gt;.* TO '&amp;lt;OOZIE USER&amp;gt;'@'&amp;lt;OOZIE HOST&amp;gt;'&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Oct 2015 22:33:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95347#M8656</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-10-13T22:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Non Default Database Setup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95348#M8657</link>
      <description>&lt;P&gt;Yes! GRANT ALL is needed!&lt;/P&gt;&lt;PRE&gt;mysql&amp;gt; create database oozie;
Query OK, 1 row affected (0.00 sec)

mysql&amp;gt; grant all privileges on oozie.* to 'oozie'@'localhost' identified by 'oozie';
Query OK, 0 rows affected (0.00 sec)

mysql&amp;gt; grant all privileges on oozie.* to 'oozie'@'%' identified by 'oozie';
Query OK, 0 rows affected (0.00 sec)

mysql&amp;gt; exit &lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:47:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Non-Default-Database-Setup/m-p/95348#M8657</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2015-11-16T14:47:03Z</dc:date>
    </item>
  </channel>
</rss>

