Mysql forgets the root password
service mysqld stop
/usr/bin/mysqld_safe –skip-grant-table &
180814 10:10:00 mysqld_safe Logging to ‘/var/log/mysqld.log’.
mysql -u root
use mysql;
update user set password=password(‘123456′) where user=’root’;
flush privileges;
mysql -u root -p
Enter password: // Enter the new password here