启动数据库1mysqld --skip-grant-tables 更新密码12use mysql;UPDATE user SET Password=PASSWORD('root') where USER='root';