Unable to set password root thru command prompt after installing tomcat server successfully | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos
10% April Month Discount Avail now

Selenium Training Forum

Unable to set password root thru command prompt after installing tomcat server successfully

J
jai jagadeesha Post on 11/02/2019

Module : Data Base Testing-Part 1

After successful installation of the tomcat server. started tomcat server. In command prompt . visited bin folder mysql, typed following command mysql -u root -p and entered password as root in next line.

Am getting the  error message, For reference plz refer attachment.

Please help me out to resolve this issue.

Thanks

Jai Jagadeesha

D

Instructor

Demo Reply on 12/02/2019

If you've set the password, you need to provide the old password first.

 

If you've not set the password, in that case, you need yo omit the "-p" part of the command

J
jai jagadeesha Reply on 12/02/2019

Thanks for an update. Am using it for first time. Shall it possible to work on CRM application along with Tomcat server with out assigning password in command.

Thanks

 

D

Instructor

Demo Reply on 15/02/2019

Yes, it will work