<?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: How To connect with mysql in HDPCDeveloper Practice exam instance in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142022#M27979</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10283/shikhavrm02.html" nodeid="10283"&gt;@Shikha  Verma&lt;/A&gt; - The MySQL instance is running on a machine called "namenode", not localhost. If you want to run the mysql client, you should SSH onto namenode first:&lt;/P&gt;&lt;PRE&gt;$ ssh root@namenode&lt;/PRE&gt;&lt;P&gt;The password is "hadoop". &lt;/P&gt;&lt;P&gt;Once you are on the namenode, then you can run mysql:
&lt;/P&gt;&lt;PRE&gt;# mysql --user root -p&lt;/PRE&gt;&lt;P&gt;That password is also "hadoop". Let me know if that works.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 21:22:47 GMT</pubDate>
    <dc:creator>rich1</dc:creator>
    <dc:date>2016-05-13T21:22:47Z</dc:date>
    <item>
      <title>How To connect with mysql in HDPCDeveloper Practice exam instance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142019#M27976</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I was trying to connect with mysql to check databases.. as mysql is already running in namenode&lt;/P&gt;&lt;P&gt;I have used following command&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mysql --user root -p &lt;/STRONG&gt;and got following error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ERROR 2002(HY000) : Can't connect to local MySQL server thorugh socket 'var/lib/MySQL/MySQL.scok' (2)&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 20:51:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142019#M27976</guid>
      <dc:creator>Shk</dc:creator>
      <dc:date>2016-05-11T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: How To connect with mysql in HDPCDeveloper Practice exam instance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142020#M27977</link>
      <description>&lt;P&gt;By not specifying the hostname, you are attempting to connect to "localhost". When you connect to "localhost", the socket connector is used, which doesn't look like it was configured properly. To use the TCP/IP connector, you should connect to mysql using the hostname:&lt;/P&gt;&lt;PRE&gt;mysql --host your.hostname.goes.here --user root -p&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 May 2016 21:22:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142020#M27977</guid>
      <dc:creator>tmccuch</dc:creator>
      <dc:date>2016-05-11T21:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: How To connect with mysql in HDPCDeveloper Practice exam instance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142021#M27978</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10283/shikhavrm02.html" nodeid="10283"&gt;@Shikha  Verma&lt;/A&gt; - did this answer help? If so, please accept. Otherwise, let me know if you need further assistance.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 18:34:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142021#M27978</guid>
      <dc:creator>tmccuch</dc:creator>
      <dc:date>2016-05-12T18:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How To connect with mysql in HDPCDeveloper Practice exam instance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142022#M27979</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10283/shikhavrm02.html" nodeid="10283"&gt;@Shikha  Verma&lt;/A&gt; - The MySQL instance is running on a machine called "namenode", not localhost. If you want to run the mysql client, you should SSH onto namenode first:&lt;/P&gt;&lt;PRE&gt;$ ssh root@namenode&lt;/PRE&gt;&lt;P&gt;The password is "hadoop". &lt;/P&gt;&lt;P&gt;Once you are on the namenode, then you can run mysql:
&lt;/P&gt;&lt;PRE&gt;# mysql --user root -p&lt;/PRE&gt;&lt;P&gt;That password is also "hadoop". Let me know if that works.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 21:22:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142022#M27979</guid>
      <dc:creator>rich1</dc:creator>
      <dc:date>2016-05-13T21:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: How To connect with mysql in HDPCDeveloper Practice exam instance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142023#M27980</link>
      <description>&lt;P&gt;Thanks ..it worked&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 18:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-To-connect-with-mysql-in-HDPCDeveloper-Practice-exam/m-p/142023#M27980</guid>
      <dc:creator>Shk</dc:creator>
      <dc:date>2016-05-24T18:51:58Z</dc:date>
    </item>
  </channel>
</rss>

