实现远程登录MySQL 修改用户的host use mysql update user set host = '%' where user = 'root'; 修改配置文件中的bind-address bind-address = 0.0.0.0