Last active
December 22, 2015 00:55
-
-
Save gbraccialli/14ae3c98ac93cd44ecfa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER 'hive'@'localhost' IDENTIFIED BY 'pwd'; | |
CREATE USER 'hive'@'hostxxx' IDENTIFIED BY 'pwd'; | |
GRANT ALL ON hive.* TO 'hive'@'localhost'; | |
GRANT ALL ON hive.* TO 'hive'@'hostxx'; | |
flush privileges; | |
CREATE USER 'root'@'%'; | |
GRANT ALL PRIVILEGES ON *.* to 'root'@'%' WITH GRANT OPTION; | |
SET PASSWORD FOR 'root'@'%' = PASSWORD('hortonworks'); | |
SET PASSWORD = PASSWORD('hortonworks'); | |
FLUSH PRIVILEGES; | |
CREATE USER 'testsqoop'@'localhost' IDENTIFIED BY 'pwd'; | |
CREATE USER 'testsqoop'@'%' IDENTIFIED BY 'pwd'; | |
GRANT ALL PRIVILEGES ON *.* TO 'testsqoop'@'localhost' WITH GRANT OPTION; | |
GRANT ALL PRIVILEGES ON *.* TO 'testsqoop'@'%' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment