Sqoop in cloudera


#1

In the script:
sqoop list-databases
–connect jdbc:mysql://ms.itversity.com:3306
–username retail_user
–password itversity

As I’m working on cloudera, so what should I use instead of “/ms.itversity.com:3306”.


#2

@skshady

Use below command:
sqoop list-databases --connect “jdbc:mysql://quickstart.cloudera:3306” --username retail_dba password cloudera


#3

Thanks mate, it worked!


#4