<?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: Failed to install Oozie. &amp;quot;Failed to create Oozie database tables. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-install-Oozie-quot-Failed-to-create-Oozie-database/m-p/42715#M34216</link>
    <description>&lt;P&gt;Well, not really a solution, but after trying various combinations I was able to install and start the Oozie process. It worked after I created a mysql user like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;MariaDB [(none)]&amp;gt; grant all on oozie.* TO 'oozie'@'host.company.com' IDENTIFIED BY 'secretpassword';&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2016 16:15:23 GMT</pubDate>
    <dc:creator>paultader</dc:creator>
    <dc:date>2016-07-08T16:15:23Z</dc:date>
    <item>
      <title>Failed to install Oozie. "Failed to create Oozie database tables.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-install-Oozie-quot-Failed-to-create-Oozie-database/m-p/42710#M34215</link>
      <description>&lt;P&gt;CDH 5.7.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Atempts to install Oozie with Cloudera Manager fails with the error in stderr log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Error: Could not connect to the database: java.sql.SQLException: Access denied for user 'oozie'@'localhost' (using password: YES)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There is no password configured, but even with a pasword configured the process still fails.&lt;/LI&gt;&lt;LI&gt;Using the command line mysql client I can connect ( "mysql -u oozie oozie")&lt;/LI&gt;&lt;LI&gt;After connecting via the command line as the "oozie" user I can create and drop tables.&lt;/LI&gt;&lt;LI&gt;I've dropped the database and user and then recreated. No joy.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&amp;nbsp;Steps I'm running.&lt;/U&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add a service&lt;/LI&gt;&lt;LI&gt;Chose the host for the Oozie Server service&lt;/LI&gt;&lt;LI&gt;Test (external mysql) database connetion is successful&lt;/LI&gt;&lt;LI&gt;Review changes and start the installation.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full disclosure: This is the second attempt to install this cluster (after removing packages, dropping databases, etc) so I'm thinking some configuration file was left behind (but it would still have been the same values). Datanode DNS issues caused me to reset the installation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:28:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-install-Oozie-quot-Failed-to-create-Oozie-database/m-p/42710#M34215</guid>
      <dc:creator>paultader</dc:creator>
      <dc:date>2022-09-16T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install Oozie. "Failed to create Oozie database tables.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-install-Oozie-quot-Failed-to-create-Oozie-database/m-p/42715#M34216</link>
      <description>&lt;P&gt;Well, not really a solution, but after trying various combinations I was able to install and start the Oozie process. It worked after I created a mysql user like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;MariaDB [(none)]&amp;gt; grant all on oozie.* TO 'oozie'@'host.company.com' IDENTIFIED BY 'secretpassword';&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 16:15:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-install-Oozie-quot-Failed-to-create-Oozie-database/m-p/42715#M34216</guid>
      <dc:creator>paultader</dc:creator>
      <dc:date>2016-07-08T16:15:23Z</dc:date>
    </item>
  </channel>
</rss>

