Connect to the mysql dataase from remote server

Make sure that the firewall is closed!!!!!!!!!

shell command should be like is: mysql -u username -p password -h ipaddress -P port

原文地址:https://www.cnblogs.com/reynold-lei/p/3147541.html