cd /etc/mysql
vim mysql.cnf (里面提示我们包含了/etc/mysql/conf.d/和/etc/mysql/mysql.conf.d两个目录)
注释etc/mysql/mysql.conf.d/mysqld.cnf下的bind-address这一行
授权用户能进行远程连接
grant all privileges on *.* to root@"%" identified by "password" with grant option;
flush privileges;