Support Questions
Find answers, ask questions, and share your expertise

Getting error for mysql connection with cloudera

New Contributor

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 

1 ACCEPTED SOLUTION

Accepted Solutions

New Contributor

got the ans 

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

View solution in original post

1 REPLY 1

New Contributor

got the ans 

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

View solution in original post