--start mysql server
mysqld --console
--mysql client login to mysql server
mysql -u root -p
--change Password
set password = 123456; -- modify the current user's password
set password for 'root'@'localhost' = '123456'; ----Modify the password of the specified user