MySql password change

To change the mysql password from windows you need to perform the following dteps –

Open CMD run the following command

mysqladmin -u root password NEWPASSWORD
where ‘NEWPASSWORD’ is new password

and ‘root’ is the user.

*note: set mysql/bin path in enviornmental path before do this job.

For updating password-

mysqladmin -u root -p’oldpassword’ password newpass

Leave a Reply

Your email address will not be published. Required fields are marked *