宝塔mysql设置root账户外网连接

use mysql;
select host,user from user;
update user set host='%' where user = root;
flush privileges; 刷新才有效
posted @ 2023-11-01 17:50  猝死的路上  阅读(397)  评论(0编辑  收藏  举报