Start the remote service:
Login to mysql:
/ / Give the root user all permissions, the remote login password is 123456
grant all privileges on *.* to 'root' @'%' identified by '123456'; flush privileges;
Set up Linux firewall:
Linux firewall blocks port 3306 by default
/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT /etc/rc.d/init.d/iptables save