<?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 ERROR 1045 (28000): Access denied for user 'root'@'localhost' - When trying the command &amp;quot;mysql -u root -p&amp;quot; in sandbox 2.5, in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138569#M56184</link>
    <description>&lt;P&gt;Hello Sir/ Mam,&lt;/P&gt;
&lt;P&gt;I have installed Sandbox 2.5 and tried to execute the set up steps as in the document.&lt;/P&gt;
&lt;P&gt;Tried to execute the command:&lt;/P&gt;
&lt;P&gt;mysql -u root -p&lt;/P&gt;
&lt;P&gt;and receiving the error as below,&lt;/P&gt;
&lt;P&gt;ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)&lt;/P&gt;
&lt;P&gt;I have logged in as root and change the default password.&lt;/P&gt;
&lt;P&gt;Can you please help me to resolve this?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Sankar.&lt;/P&gt;
&lt;P&gt;,&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 19:09:45 GMT</pubDate>
    <dc:creator>shankar_1975</dc:creator>
    <dc:date>2022-09-19T19:09:45Z</dc:date>
    <item>
      <title>ERROR 1045 (28000): Access denied for user 'root'@'localhost' - When trying the command "mysql -u root -p" in sandbox 2.5,</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138569#M56184</link>
      <description>&lt;P&gt;Hello Sir/ Mam,&lt;/P&gt;
&lt;P&gt;I have installed Sandbox 2.5 and tried to execute the set up steps as in the document.&lt;/P&gt;
&lt;P&gt;Tried to execute the command:&lt;/P&gt;
&lt;P&gt;mysql -u root -p&lt;/P&gt;
&lt;P&gt;and receiving the error as below,&lt;/P&gt;
&lt;P&gt;ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)&lt;/P&gt;
&lt;P&gt;I have logged in as root and change the default password.&lt;/P&gt;
&lt;P&gt;Can you please help me to resolve this?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Sankar.&lt;/P&gt;
&lt;P&gt;,&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 19:09:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138569#M56184</guid>
      <dc:creator>shankar_1975</dc:creator>
      <dc:date>2022-09-19T19:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' - When trying the command "mysql -u root -p" in sandbox 2.5,</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138570#M56185</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16436/shankar1975.html" nodeid="16436"&gt;@sankar sankar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After you run the "mysql -u root -p"  command when it asks for password please enter "hadoop"   as password.     &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# mysql -u root -p
Enter password: hadoop&lt;/PRE&gt;&lt;P&gt;- Operating System password and MySQL passwords can be different. &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;- But if you have changed mysql root password then you might want to look at the following link which talks about If you assigned a&lt;CODE&gt;root&lt;/CODE&gt;password previously but have forgotten it, you can assign a new password. &lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html" target="_blank"&gt;https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 15:27:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138570#M56185</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-05T15:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' - When trying the command "mysql -u root -p" in sandbox 2.5,</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138571#M56186</link>
      <description>&lt;P&gt;Thanks a lot &lt;A href="https://community.hortonworks.com/questions/86949/error-1045-28000-access-denied-for-user-root.html#"&gt;@Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked ie, Earlier I changed the operating system password and tried to use the same for the database and had the issue.&lt;/P&gt;&lt;P&gt;Once I start using the default password for the database (hadoop) it worked.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 15:55:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-1045-28000-Access-denied-for-user-root-localhost-When/m-p/138571#M56186</guid>
      <dc:creator>shankar_1975</dc:creator>
      <dc:date>2017-03-05T15:55:04Z</dc:date>
    </item>
  </channel>
</rss>

