<?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 Ranger DB connection test failing on ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148312#M20162</link>
    <description>&lt;P&gt;I am testing my ranger db connection on my sandbox it fails.  I have not changed any password. using all defaults.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;PRE&gt;  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 477, in &amp;lt;module&amp;gt;
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 212, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: ERROR: Unable to connect to the DB. Please check DB connection properties.
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Feb 2016 01:41:11 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2016-02-19T01:41:11Z</dc:date>
    <item>
      <title>Ranger DB connection test failing on ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148312#M20162</link>
      <description>&lt;P&gt;I am testing my ranger db connection on my sandbox it fails.  I have not changed any password. using all defaults.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;PRE&gt;  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 477, in &amp;lt;module&amp;gt;
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 212, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: ERROR: Unable to connect to the DB. Please check DB connection properties.
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Feb 2016 01:41:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148312#M20162</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-02-19T01:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger DB connection test failing on ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148313#M20163</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;&lt;P&gt; This will fix it&lt;/P&gt;&lt;P&gt;grant all privileges on *.* to  'root'@'localhost' identified  by 'password' with grant option;   &lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 01:46:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148313#M20163</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-19T01:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger DB connection test failing on ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148314#M20164</link>
      <description>&lt;P style="margin-left: 40px;"&gt;I found it the problem, it was the password.  I issues the statement you gave and it still failed.  Then I went into ambari and changed the password to password and it worked. thank you&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6044iB9926413BBFDEC90/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="2016-02-18-11-52-53.jpg" title="2016-02-18-11-52-53.jpg" /&gt;</description>
      <pubDate>Fri, 19 Feb 2016 01:55:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-DB-connection-test-failing-on-ambari/m-p/148314#M20164</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-02-19T01:55:04Z</dc:date>
    </item>
  </channel>
</rss>

