修改密码update user set password=password('') where user='root';FLUSH PRIVILEGES;远程访问权限:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '' WITH GRANT OPTION;FLUSH PRIVILEGES;