change mysql password

Here’s one way to change a mysql password:

mysql> use mysql;
mysql> update user set password=PASSWORD("NEWsecretPASSWORD123") where User='ForDoDone';

Leave a Reply

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