<?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: Ranger test db connection failing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178563#M64720</link>
    <description>&lt;P&gt;where is ranger running? If it is on 'hadoop1', then it is connecting to db from 'hadoop1'. You could also create 'root'@'%' user.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 00:39:43 GMT</pubDate>
    <dc:creator>vperiasamy</dc:creator>
    <dc:date>2017-07-12T00:39:43Z</dc:date>
    <item>
      <title>Ranger test db connection failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178561#M64718</link>
      <description>&lt;P&gt;I am getting this error &lt;/P&gt;&lt;PRE&gt;2017-07-11 13:18:41,662 - 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'@'hadoop1.tolls.dot.state.fl.us' (using password: YES)
&lt;/PRE&gt;&lt;P&gt;ok I fixed this issue by creating the user &lt;A href="mailto:'root'@'hadoop1.tolls.dot.state.fl.us'"&gt;'root'@'hadoop1.tolls.dot.state.fl.us'&lt;/A&gt;    but my question is why ranger is  connecting to the database as root1@hadoop1 and not &lt;A href="mailto:root@hadoop2"&gt;root@hadoop2&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 00:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178561#M64718</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-07-12T00:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger test db connection failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178562#M64719</link>
      <description>&lt;P&gt;what version of HDP are you using? Make sure you have given all privileges to the root user "with grant option". Please see &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_security/content/configuring_mysql_for_ranger.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_security/content/configuring_mysql_for_ranger.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 00:38:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178562#M64719</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2017-07-12T00:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger test db connection failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178563#M64720</link>
      <description>&lt;P&gt;where is ranger running? If it is on 'hadoop1', then it is connecting to db from 'hadoop1'. You could also create 'root'@'%' user.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 00:39:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-test-db-connection-failing/m-p/178563#M64720</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2017-07-12T00:39:43Z</dc:date>
    </item>
  </channel>
</rss>

