Created 03-05-2017 12:41 PM
Hello guys,
I am newbie to hadoop. I have installed sandbox vmware and now i want to access mysql DB which is installed in my host machine into hive through sqoop. after writing following command
mysql -u root -p
I am getting following error. any help?
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Created 03-09-2017 02:32 PM
Unlike your original query which was related to Sandbox based mysql (that uses 'hadoop' as root user password by default) , Your current query is very specific to MySQL instead of HDP Sandbox specific settings.
You should refer to standard MySQL documentation in order to know how to reset the root passwords: https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html
- If you will use default sandbox then the mysql root user password will be 'hadoop'.
Created 01-11-2019 02:16 PM
the thing is that you have a passed your localhosts to your VM sandbox. the sandbox itselfs contains its own mysql instance. within sqoop you are not pointing to the mysql on your windows but on your vm..
Created 01-11-2019 02:17 PM
but i am looking to the same solution to bypass this issue. How can i access my local mysql instance on windows when running sqoop on a VM box
Created 08-19-2021 05:12 AM
HI,
used cmd like
mysql -u root -p cloudera