mysqladmin -u root -p password
введите свой current password
current
password
, затем
введите свой new password
new password