Labels

Monday, 7 November 2016

How to update root password in MySQL

We can update the root password by using the below command.

UPDATE user
SET password = PASSWORD('secret')
WHERE user = 'root'

No comments:

Post a Comment