Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Password for MySQL

avatar
New Contributor

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
Explorer
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
Explorer
mysql -u root -pcloudera