Saturday, November 8, 2014

Connecting to MySQL via Sqoop in Big Data


Syntax to import data from any relational database

sqoop import --connect <JDBC connection string> --table <tablename> --username <username> --password <password>

sqoop import --connect jdbc:mysql://ipaddress/db --username <enter user name> --password <enter password> --table tble

No comments:

Post a Comment