Unable to set password root thru command prompt after installing tomcat server successfully | Selenium Forum
J
Jai Jagadeesha Posted 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


A
Ashish Thakur Replied 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 Replied 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

 


A
Ashish Thakur Replied on 15/02/2019

Yes, it will work