1. #service mysqld stop
2. #/usr/bin/mysqld_safe --skip-grant-tables 另外开个SSH连接 # mysql mysql>use mysql mysql>update user set password=password("123456") where user="root"; mysql>flush privileges; mysql>exit 3. ps -A | grep mysql kill -9 ID1 ID2 启动mysql