The bind-address in my.cnf is configured as A's intranet ip mysql corresponding user settings allow access to B's intranet ip Configure A's firewall rules (don't worry if the firewall is not enabled by default)
When generating a user, limit the user's IP or MYSQL only allows access to the specified IP. If the user is generated, username@host must be configured when generating the user. If you configure MYSQL to only allow specified IP access, find the bind-address line in the mysql configuration file and add address access according to the original example
The bind-address in my.cnf is configured as A's intranet ip
mysql corresponding user settings allow access to B's intranet ip
Configure A's firewall rules (don't worry if the firewall is not enabled by default)
When generating a user, limit the user's IP or MYSQL only allows access to the specified IP.
If the user is generated, username@host must be configured when generating the user.
If you configure MYSQL to only allow specified IP access, find the
bind-address line in the mysql configuration file and add address access according to the original example
http://blog.csdn.net/duck_arrow/article/...