#mysql -uroot -p123456
>use mysql;
>select host,user,password from user;
>create user 'root'@'%' identified by '123456';
>grant all on *.* to root@'%' identified by '123456';
>exit
给MySQL添加root用户的远程权限
最新推荐文章于 2025-03-13 17:18:27 发布