📜  更改数据库 mysql 代码示例的权限

📅  最后修改于: 2022-03-11 15:05:11.134000             🧑  作者: Mango

代码示例1
UPDATE mysql.user SET Host='%' WHERE Host='localhost' AND User='username';
UPDATE mysql.db SET Host='%' WHERE Host='localhost' AND User='username';