select Host,User,Password from mysql.user;
update mysql.user set `Host` = '%' where `Host` = '::1' and User = 'root';
flush privileges;