mysql->use mysql
mysql->update user set host = ‘%’ where user =‘root’;
mysql->grant all privileges on . to ‘root’@’%’ with grant option;
mysql->flush privileges;
mysql->exit;
mysql远程访问失败的解决办法
最新推荐文章于 2022-12-19 17:47:24 发布
mysql->use mysql
mysql->update user set host = ‘%’ where user =‘root’;
mysql->grant all privileges on . to ‘root’@’%’ with grant option;
mysql->flush privileges;
mysql->exit;