0

When I run below script on Cloudera VM, I am getting below error.

sqoop import-all-tables --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" -username =retail_dba --p

6/09/17 23:33:11 ERROR manager.CatalogQueryManager: Failed to list tables
java.sql.SQLException: Access denied for user '=retail_dba'@'localhost' (using password: YES)
halfer
  • 19,824
  • 17
  • 99
  • 186
developer
  • 9,116
  • 29
  • 91
  • 150

1 Answers1

0

myself fixed the issue

sqoop import-all-tables --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db" -username =retail_dba --p

In the above script, there is space between username and '='. so sqoop assuming username as =retail_dba.

Its worked fine when removed empty space.

developer
  • 9,116
  • 29
  • 91
  • 150