UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User=' root'; FLUSH PRIVILEGES;. Write the ...
dev.mysql.com