远程连接MySql分配ip权限 mysql -uroot -p密码 grant all privileges on *.* to 'IP地址' identified by '密码' with grant option; flush privileges;