-- Open the bash shell and connect to the server as root user: mysql -u root -h localhost -p -- Run ALERT mysql command: ALTER USER 'userName'@'localhost' IDENTIFIED BY 'New-Password-Here'; FLUSH PRIVILEGES;