1.use mysql 2.update user set host = '%' where user = 'root' 3.flush privileges 4.
use mysql
update user set host = '%' where user = 'root'
flush privileges