Skip to main content
SK2007
Gold ⭐️
August 10, 2021
Solved

Getting error for mysql connection with cloudera

getting error for access to mysql 

 

1. [cloudera@quickstart ~]$ mysql -uroot -pcloudera
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2. [cloudera@quickstart ~]$ mysql -uroot
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
3. [cloudera@quickstart ~]$ mysql -u root -p cloudera
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

 

 

in 3 step putting password as cloudera but it not works 

SK2007
SK2007Answer
Gold ⭐️
August 10, 2021

got the ans 

[cloudera@quickstart ~]$ mysql -uroot -proot
Welcome to the MySQL monitor. Commands end with ; or \g.

1 reply

SK2007
SK2007AuthorAnswer
Gold ⭐️
August 10, 2021

got the ans 

[cloudera@quickstart ~]$ mysql -uroot -proot
Welcome to the MySQL monitor. Commands end with ; or \g.

Translate