Question: how to change mysql user password from command line?
Answer: Open the bash shell and connect to the server as root user. mysql -u root -h localhost -p. Run command: ALTER USER 'userName'@'localhost' IDENTIFIED BY 'New-Password-Here';