mysql 远程访问权限 mysql -u root -p use mysql; select user,password,host from user; update user set host = '%' where user = 'root'; update user set host = '%' where host = 'localhost'; flush privileges; 赞 0 赏 分享