Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Password for MySQL

avatar
Frequent Visitor

I've installed Cloudera VM 5.3.0 with VMware 11.0 on Windows 8.1. I'm trying to connect to MySQL with CLI and I typed

mysql -u root -p cloudera, but I can't connect to MySql.

Is "cloudera" the correct password ?

 

Best regards,

1 ACCEPTED SOLUTION

avatar
> mysql -u root -p cloudera

Try

$ mysql -uroot -pcloudera (no space between -p and password)





Regards,
Gautam Gopalakrishnan

View solution in original post

11 REPLIES 11

avatar
below option worked for me...

$mysql -u root -p
Enter Password:

mysql> grant all privileges on *.* to retail_user@localhost identified by 'pass' with grant option;

avatar
New Member
mysql -u root -pcloudera