Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

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

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.