====== Reset MySQL Root Password ====== Created Monday 03 April 2017 Step # 1: Stop the MySQL server process. Step # 2: Start the MySQL (mysqld) server/daemon process with the --skip-grant-tables option so that it will not prompt for a password. Step # 3: Connect to the MySQL server as the root user. Step # 4: Set a new root password. Step # 5: Exit and restart the MySQL server. Connect to the MySQL server using the MySQL client: # mysql -u root Set a new MySQL root user password: mysql> use mysql; mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root'; mysql> flush privileges; mysql> quit Stop and Restart mysql daemon