<?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>topic Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO) in Security</title>
    <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46602#M13866</link>
    <description>&lt;P&gt;Ther was way to add username password.&lt;BR /&gt;
First i have connected to localhost database using host as 127.0.0.1. now i am trying to connect to 54.35.xx.xxx Mysql database but i m getting this error.&lt;/P&gt;

&lt;P&gt;ERROR java.sql.SQLException: Access denied for user 'root'@'50.16.35.xxx' (using password: NO)&lt;/P&gt;

&lt;P&gt;In error massage its trying to connect my local machine again because my local machine IP address is 50.16.35.xxx instead of 54.35.xx.xxx&lt;/P&gt;

&lt;P&gt;Can anyone please tell me how this is happening.&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2013 04:48:52 GMT</pubDate>
    <dc:creator>gajananh999</dc:creator>
    <dc:date>2013-05-28T04:48:52Z</dc:date>
    <item>
      <title>ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46599#M13863</link>
      <description>&lt;P&gt;Dear Everyone,&lt;/P&gt;

&lt;P&gt;When i am trying to connect MySQL database from splunk db connect. MySQL is on another server.&lt;BR /&gt;&lt;BR /&gt;
Error is&lt;/P&gt;

&lt;P&gt;ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xx.xxx' (using password: NO)&lt;/P&gt;

&lt;P&gt;Can anyone please help me on this.&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;

&lt;P&gt;Gajanan Hiroji.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2013 12:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46599#M13863</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2013-05-27T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46600#M13864</link>
      <description>&lt;P&gt;When i have given different machine IP address to add the database but it is taking local machine and checking the user in local machine.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2013 12:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46600#M13864</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2013-05-27T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46601#M13865</link>
      <description>&lt;P&gt;When you added the connection there was no way to enter the username and password?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Addadatabaseconnection"&gt;http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Addadatabaseconnection&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 02:15:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46601#M13865</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2013-05-28T02:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46602#M13866</link>
      <description>&lt;P&gt;Ther was way to add username password.&lt;BR /&gt;
First i have connected to localhost database using host as 127.0.0.1. now i am trying to connect to 54.35.xx.xxx Mysql database but i m getting this error.&lt;/P&gt;

&lt;P&gt;ERROR java.sql.SQLException: Access denied for user 'root'@'50.16.35.xxx' (using password: NO)&lt;/P&gt;

&lt;P&gt;In error massage its trying to connect my local machine again because my local machine IP address is 50.16.35.xxx instead of 54.35.xx.xxx&lt;/P&gt;

&lt;P&gt;Can anyone please tell me how this is happening.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 04:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46602#M13866</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2013-05-28T04:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46603#M13867</link>
      <description>&lt;P&gt;I am trying to connect from one ec2 machine to another ec2 machine&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 06:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46603#M13867</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2013-05-28T06:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46604#M13868</link>
      <description>&lt;P&gt;Have you granted access to the database?  For example, &lt;CODE&gt;'grant all privileges on database.* to root@machine.splunk.runs.on;&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 11:52:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46604#M13868</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-05-30T11:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46605#M13869</link>
      <description>&lt;P&gt;I am facing similar problem.  Have you solved it?&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to save: In handler 'databases': Error connecting to database: java.sql.SQLException: Access denied for user 'root'@'' (using password: YES)&lt;/P&gt;

&lt;P&gt;Pls help!!!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:26:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46605#M13869</guid>
      <dc:creator>netxcel</dc:creator>
      <dc:date>2015-04-09T08:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR java.sql.SQLException: Access denied for user 'root'@'xx.xx.xxx.xxx' (using password: NO)</title>
      <link>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46606#M13870</link>
      <description>&lt;P&gt;If you are connecting a remote mysql server from your local machine using java see the below steps. Error : "java.sql.SQLException: Access denied for user 'xxxxx'@'101.123.163.141' (using password: YES) "&lt;/P&gt;

&lt;P&gt;for remote access may be cpanel or others grant the remote access for your local ip address.&lt;/P&gt;

&lt;P&gt;In the above error message: "101.123.163.141" is my local machine ip. So First we have to give remote access in the Cpanel-&amp;gt; Remote MySQL®. Then run your application to connect.&lt;/P&gt;

&lt;P&gt;Class.forName("com.mysql.jdbc.Driver");&lt;BR /&gt;&lt;BR /&gt;
Connection con=DriverManager.getConnection(&lt;BR /&gt;&lt;BR /&gt;
    "jdbc:mysql://&lt;A href="http://www.xyz.com/abc%22,%22def%22,%22ghi%22"&gt;www.xyz.com/abc","def","ghi"&lt;/A&gt;);&lt;BR /&gt;&lt;BR /&gt;
//here abc is database name, def is username and ghi&lt;BR /&gt;&lt;BR /&gt;
Statement stmt=con.createStatement();&lt;BR /&gt;&lt;BR /&gt;
ResultSet rs=stmt.executeQuery("select * from employee");&lt;BR /&gt;&lt;BR /&gt;
    while(rs.next())&lt;BR /&gt;&lt;BR /&gt;
        System.out.println(rs.getInt(1)+" "+rs.getString(2)+"&lt;BR /&gt;&lt;BR /&gt;
                          "+rs.getString(3));&lt;BR /&gt;&lt;BR /&gt;
con.close();&lt;BR /&gt;&lt;BR /&gt;
Hope it will resolve your issue.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 18 Nov 2018 16:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-java-sql-SQLException-Access-denied-for-user-root-xx-xx/m-p/46606#M13870</guid>
      <dc:creator>s_debasish</dc:creator>
      <dc:date>2018-11-18T16:40:28Z</dc:date>
    </item>
  </channel>
</rss>

