Sqoop import-all-tables - cloudera quickstart vm

I ran below command

sqoop import-all-tables
-m 12
–connect “jdbc:mysql://quickstart.cloudera:3306/retail_db”

but getting this error:

Retrying to connect to server : quickstart/cloudera/ already tried 9 time(s) ; retry policy is RetryUpToMaximumCountWithFixedSleep

Could you please help

check whether you are able to connect to mysql from console using mysql -u retail_dba -p

1 Like