Mysql8设置允许root用户远程访问

 

1,create user 'root'@'%' identified by 'passwd';
2,flush privileges;

3,grant all privileges on *.* to 'root'@'%' ;

posted @ 2023-04-11 23:45  ryan刘玮  阅读(335)  评论(0)    收藏  举报