1. Stop MySQL Services 2. Ignore User Information Log in to Mysqld - Skip-grant-Tables3. Use mysql to log in 4. Modify the root password Use mysql; Update User set password = password ("1234") where user = "root";