use mysql; update user set Host = '%' where User='root'; flush privileges;
grant all privileges on *.* to root @"%" identified by "root"; flush privileges;