I am using sandbox 2.3_1. I have a hive table in sandbox, I am trying to export the data into a mysql table also in the sandbox. I am using this under hadoop shell:
sqoop export –connect jdbc:mysql://localhost/flightinfo –table weather –export-dir /apps/hive/warehouse/sqoop_tmp
and got error: Access denied for user ”@’localhost’ (using password: no) (sqlManager:43).
The mysql database is flightinfo, table is weather, /apps/hive/warehouse/sqoop_tmp is the data in hadoop. The mysql database should be preinstalled in the sandbox.I can type mysql in hadoop shell to enter mysql without entering any username or password.
I am new to hadoop so not quite sure what’s the problem.