MySQL allow root remote login

UPDATE mysql.user SET host='%' WHERE user='root';