update user set host = '%' where user = 'root';
GRANT ALL PRIVILEGES ON *.* TO root@'%';
FLUSH PRIVILEGES