给mysql赋外网访问权限

select host,user,grant_priv,super_priv from mysql.user;

update mysql.user set host='%' where user='root'; 

flush privileges;
posted @ 2023-11-23 11:09  AlenYang  阅读(11)  评论(0编辑  收藏  举报