<?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: Sqoop (in HDP 3.0)  to pull data from MySQL Workbench in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-in-HDP-3-0-to-pull-data-from-MySQL-Workbench/m-p/278756#M208215</link>
    <description>&lt;P&gt;You need to install sqoop in your cluster. So the import sqoop provides the tool to import data from you DB to HDFS. Please make sure you have the MySQL JDBC driver setup in the cluster so it can be used with sqoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sqoop import \
  --connect jdbc:mysql://mysql.database_name/schema_database \
  --username sqoopuser \
  --password sqooppwd \
  --table cities &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sqoop import \
  --connect jdbc:mysql://mysql_localhost/schema_database \
  --username sqoopuser \
  --password-file /home/sqoop/sqoop.password \
  --table cities \
  --as-avrodatafile \
  --target-dir /etl/input/cities-avro   &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 12:43:24 GMT</pubDate>
    <dc:creator>kwabstian53</dc:creator>
    <dc:date>2019-10-03T12:43:24Z</dc:date>
  </channel>
</rss>

