- Launch a command-prompt.
- Navigate to the bin folder of your MySQL installation.
(e.g. C:\Program Files\MySQL\MySQL Server 5.6\bin) - Start the MySQL command-line interface via
mysql -u root -p - You will be prompted to type your existing root password.
- After a successful login you should see a prompt saying 'mysql>'.
- Enter following command to change password
SET PASSWORD FOR root@localhost=PASSWORD('new_passw_goes_here'); - Volia!
No comments:
Post a Comment