echo "use mysql;update user set host = '%' where host = 'localhost';flush privileges;"|mysql -uroot -proot