Search

What is the example connect string for Oracle database to import tables into HDFS?



We need to use Oracle JDBC Thin driver while connecting to Oracle database via Sqoop. Below is the sample import command to pull table employees from oracle database testdb.
MySQL
sqoop import \
--connect jdbc:oracle:thin:@127.0.0.1/testdb \
--username SQOOP \
--password sqoop \
--table employees