📅  最后修改于: 2022-03-11 15:05:11.134000             🧑  作者: Mango
UPDATE mysql.user SET Host='%' WHERE Host='localhost' AND User='username';
UPDATE mysql.db SET Host='%' WHERE Host='localhost' AND User='username';