host 'xx' is not allowed to connect to this MySql server update mysql.user set host = '%' where user = 'root'; FLUSH PRIVILEGES; select * from mysql.user;